mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-19 08:24:25 +01:00
Increase batching of sent transaction inserts
This should further reduce the number of individual inserts, transactions and updates that are required for keeping sent_transactions up to date.
This commit is contained in:
parent
f9d5b60a24
commit
4c3eb14d68
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class TransactionStore(SQLBaseStore):
|
|||
self.last_transaction = {}
|
||||
|
||||
reactor.addSystemEventTrigger("before", "shutdown", self._persist_in_mem_txns)
|
||||
self._clock.looping_call(self._persist_in_mem_txns, 1000)
|
||||
self._clock.looping_call(self._persist_in_mem_txns, 10 * 1000)
|
||||
|
||||
self._clock.looping_call(self._cleanup_transactions, 30 * 60 * 1000)
|
||||
|
||||
|
|
Loading…
Reference in a new issue