summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-20 14:40:50 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-20 14:40:50 +0100
commite79b3aed873d80f83f986dd1da1221521523f19b (patch)
treed32d7e9d04a3500846e7747eb672546380c80a84
parentCollect old current stats rows when updating stats with deltas (diff)
downloadsynapse-rei/rss_inc4.tar.xz
I mustn't forget my morning corn flake(8)s github/rei/rss_inc4 rei/rss_inc4
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r--synapse/storage/stats.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py
index c2f11b84bd..5dab6089ff 100644
--- a/synapse/storage/stats.py
+++ b/synapse/storage/stats.py
@@ -15,10 +15,12 @@
 # limitations under the License.
 
 import logging
+from itertools import chain
 from threading import Lock
 
 from twisted.internet import defer
 
+from synapse.storage.engines import Sqlite3Engine
 from synapse.storage.state_deltas import StateDeltasStore
 from synapse.util.caches.descriptors import cached