Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

digest: Increase size of stream cache.

Alex Vandivere0d3176098f8
diff --git a/zerver/lib/digest.py b/zerver/lib/digest.py
index fcb27a25d16..348c3c6977b 100644
--- a/zerver/lib/digest.py
+++ b/zerver/lib/digest.py
@@ -169,7 +169,7 @@ def maybe_clear_recent_topics_cache(realm_id: int, cutoff: float) -> None:
# We cache both by stream-id and cutoff, which ensures the per-stream
# cache also does not contain data from old digests
[email protected]_cache(maxsize=500)
[email protected]_cache(maxsize=5000)
def get_recent_topics(
realm_id: int,
stream_id: int,