mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
Increase the usermessage cache to 50000 messages.
(imported from commit 3b937a45339c8ab68fe07901518df1b97885afd3)
This commit is contained in:
parent
3e928cec48
commit
d4ad38882d
@ -88,7 +88,7 @@ user_messages = {}
|
||||
# we're running within tornado, we don't want to have to do a database
|
||||
# lookup to find the matching entry in this table.
|
||||
stream_messages = {}
|
||||
USERMESSAGE_CACHE_COUNT = 25000
|
||||
USERMESSAGE_CACHE_COUNT = 50000
|
||||
STREAMMESSAGE_CACHE_COUNT = 5000
|
||||
cache_minimum_id = sys.maxint
|
||||
def initialize_user_messages():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user