Skip to content
Snippets Groups Projects
Commit 4c3eb14d authored by Erik Johnston's avatar Erik Johnston
Browse files

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.
parent f9d5b60a
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment