Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Reduce event stream cache prefill size
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Jul 28, 2021
1 parent 219f3cb commit 861e031
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synapse/storage/databases/main/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ def __init__(self, database: DatabasePool, db_conn, hs: "HomeServer"):
entity_column="room_id",
stream_column="stream_ordering",
max_value=events_max,
limit=1000,
)
self._events_stream_cache = StreamChangeCache(
"EventsRoomStreamChangeCache",
Expand Down

0 comments on commit 861e031

Please sign in to comment.