diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-20 14:40:50 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-20 14:40:50 +0100 |
commit | e79b3aed873d80f83f986dd1da1221521523f19b (patch) | |
tree | d32d7e9d04a3500846e7747eb672546380c80a84 | |
parent | Collect old current stats rows when updating stats with deltas (diff) | |
download | synapse-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.py | 2 |
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 |