summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-10 12:57:50 +0000
committerErik Johnston <erik@matrix.org>2016-02-10 12:57:50 +0000
commit24f00a6c33900cf701330ff324b0479c1898d5ce (patch)
tree8e06af00b8c5c79b933e90ed64e0c0aaf530867c /synapse/handlers/sync.py
parentOnly calculate initial sync for 10 rooms at a time (diff)
downloadsynapse-24f00a6c33900cf701330ff324b0479c1898d5ce.tar.xz
Use _simple_select_many for _get_state_group_for_events
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r--synapse/handlers/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 84f29e3867..1d0f0058a2 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -18,7 +18,7 @@ from ._base import BaseHandler
 from synapse.streams.config import PaginationConfig
 from synapse.api.constants import Membership, EventTypes
 from synapse.util import unwrapFirstError
-from synapse.util.logcontext import LoggingContext, PreserveLoggingContext, preserve_fn
+from synapse.util.logcontext import LoggingContext, preserve_fn
 from synapse.util.metrics import Measure
 
 from twisted.internet import defer