From d4ad38882d62e11ff0c593ef6fa7ece270bb5a63 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 17 Jan 2013 13:12:27 -0500 Subject: [PATCH] Increase the usermessage cache to 50000 messages. (imported from commit 3b937a45339c8ab68fe07901518df1b97885afd3) --- zephyr/tornadoviews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/tornadoviews.py b/zephyr/tornadoviews.py index c6fc198944..3b5ffa8619 100644 --- a/zephyr/tornadoviews.py +++ b/zephyr/tornadoviews.py @@ -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():