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
|
@ -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 New Issue