mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
pep8: Fix E122.
This commit is contained in:
@@ -72,10 +72,10 @@ cache_fillers = {
|
||||
'client': (lambda: Client.objects.select_related().all(), client_cache_items, 3600*24*7, 10000),
|
||||
'recipient': (lambda: Recipient.objects.select_related().all(), recipient_cache_items, 3600*24*7, 10000),
|
||||
'stream': (lambda: Stream.objects.select_related().all(), stream_cache_items, 3600*24*7, 10000),
|
||||
### Message cache fetching disabled until we can fix the fact that it
|
||||
### does a bunch of inefficient memcached queries as part of filling
|
||||
### the display_recipient cache
|
||||
# 'message': (message_fetch_objects, message_cache_items, 3600 * 24, 1000),
|
||||
# Message cache fetching disabled until we can fix the fact that it
|
||||
# does a bunch of inefficient memcached queries as part of filling
|
||||
# the display_recipient cache
|
||||
# 'message': (message_fetch_objects, message_cache_items, 3600 * 24, 1000),
|
||||
'huddle': (lambda: Huddle.objects.select_related().all(), huddle_cache_items, 3600*24*7, 10000),
|
||||
'session': (lambda: Session.objects.all(), session_cache_items, 3600*24*7, 10000),
|
||||
} # type: Dict[str, Tuple[Callable[[], List[Any]], Callable[[Dict[text_type, Any], Any], None], int, int]]
|
||||
|
||||
Reference in New Issue
Block a user