Up batch size

This commit is contained in:
Erik Johnston 2024-05-14 10:26:31 +01:00
parent b58ed63884
commit 4ffe5a4459

View file

@ -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))