summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2024-05-14 10:26:31 +0100
committerErik Johnston <erik@matrix.org>2024-05-14 10:26:31 +0100
commit4ffe5a4459466f792517b23b16fab02c0acf978b (patch)
tree7dec96ed1a5835a1b52a47915425fb99c909f4d0
parentGo faster stripes (diff)
downloadsynapse-4ffe5a4459466f792517b23b16fab02c0acf978b.tar.xz
Up batch size
-rw-r--r--synapse/storage/databases/main/event_federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/event_federation.py b/synapse/storage/databases/main/event_federation.py
index 20bc258b75..f66492b02e 100644
--- a/synapse/storage/databases/main/event_federation.py
+++ b/synapse/storage/databases/main/event_federation.py
@@ -383,7 +383,7 @@ class EventFederationWorkerStore(SignatureWorkerStore, EventsWorkerStore, SQLBas
         # the chain IDs in reverse order, as there will be a correlation between
         # the order of chain IDs and links (i.e., higher chain IDs are more
         # likely to depend on lower chain IDs than vice versa).
-        BATCH_SIZE = 1000
+        BATCH_SIZE = 5000
         chains_to_fetch_sorted = SortedSet(chains_to_fetch)
 
         logger.info("CHAINS: Fetching chain links %d", len(chains_to_fetch_sorted))