2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

PERF: cut down on memory usage allowed to redis

This limits the amount of backlog message bus channels can have.
This commit is contained in:
Sam Saffron 2016-02-04 13:58:38 +11:00
parent 19cdb38b20
commit 209b022385
2 changed files with 6 additions and 2 deletions

View file

@ -130,3 +130,8 @@ connection_reaper_max_age = 600
# IMPORTANT: path must not include a trailing /
# EG: /forum
relative_url_root =
# increasing this number will increase redis memory use
# this ensures backlog (ability of channels to catch up are capped)
# message bus default cap is 1000, we are winding it down to 100
message_bus_max_backlog_size = 100