mirror of https://github.com/zulip/zulip.git
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
|
# we're running within tornado, we don't want to have to do a database
|
||||||
# lookup to find the matching entry in this table.
|
# lookup to find the matching entry in this table.
|
||||||
stream_messages = {}
|
stream_messages = {}
|
||||||
USERMESSAGE_CACHE_COUNT = 25000
|
USERMESSAGE_CACHE_COUNT = 50000
|
||||||
STREAMMESSAGE_CACHE_COUNT = 5000
|
STREAMMESSAGE_CACHE_COUNT = 5000
|
||||||
cache_minimum_id = sys.maxint
|
cache_minimum_id = sys.maxint
|
||||||
def initialize_user_messages():
|
def initialize_user_messages():
|
||||||
|
|
Loading…
Reference in New Issue