diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-27 14:34:05 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-27 14:34:05 +0100 |
commit | 07c267c51676fe1df80993da6700f35e69fe6761 (patch) | |
tree | 0af2dfe07ee0d2d1a6bb0c19cf51bcbf2a3fe12f /synapse/storage | |
parent | For user stats, handle other membership transitions properly. (diff) | |
download | synapse-07c267c51676fe1df80993da6700f35e69fe6761.tar.xz |
For user stats, handle other membership transitions properly.
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/stats.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py index 6832ec6b7f..f86e9bd269 100644 --- a/synapse/storage/stats.py +++ b/synapse/storage/stats.py @@ -15,13 +15,10 @@ # limitations under the License. import logging -from threading import Lock - -from twisted.internet import defer from itertools import chain +from threading import Lock from synapse.storage.state_deltas import StateDeltasStore -from synapse.storage.state_deltas import StateDeltasStore from synapse.util.caches.descriptors import cached logger = logging.getLogger(__name__) |