mirror of
https://github.com/element-hq/synapse
synced 2024-07-08 12:54:07 +00:00
Up batch size
This commit is contained in:
parent
b58ed63884
commit
4ffe5a4459
|
@ -383,7 +383,7 @@ class EventFederationWorkerStore(SignatureWorkerStore, EventsWorkerStore, SQLBas
|
||||||
# the chain IDs in reverse order, as there will be a correlation between
|
# 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
|
# the order of chain IDs and links (i.e., higher chain IDs are more
|
||||||
# likely to depend on lower chain IDs than vice versa).
|
# likely to depend on lower chain IDs than vice versa).
|
||||||
BATCH_SIZE = 1000
|
BATCH_SIZE = 5000
|
||||||
chains_to_fetch_sorted = SortedSet(chains_to_fetch)
|
chains_to_fetch_sorted = SortedSet(chains_to_fetch)
|
||||||
|
|
||||||
logger.info("CHAINS: Fetching chain links %d", len(chains_to_fetch_sorted))
|
logger.info("CHAINS: Fetching chain links %d", len(chains_to_fetch_sorted))
|
||||||
|
|
Loading…
Reference in a new issue