summary refs log tree commit diff
path: root/synapse/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-09 17:17:10 +0000
committerErik Johnston <erik@matrix.org>2017-01-09 17:17:10 +0000
commitf7085ac84f76ee621ea52c9eaa0399c786d14027 (patch)
treece34c8e95e5a880172bc3681fe019902a843bbb9 /synapse/state.py
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-f7085ac84f76ee621ea52c9eaa0399c786d14027.tar.xz
Name linearizer's for better logs
Diffstat (limited to '')
-rw-r--r--synapse/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/state.py b/synapse/state.py
index 8003099c88..b9d5627a82 100644
--- a/synapse/state.py
+++ b/synapse/state.py
@@ -89,7 +89,7 @@ class StateHandler(object):
 
         # dict of set of event_ids -> _StateCacheEntry.
         self._state_cache = None
-        self.resolve_linearizer = Linearizer()
+        self.resolve_linearizer = Linearizer(name="state_resolve_lock")
 
     def start_caching(self):
         logger.debug("start_caching")