diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-09 17:41:29 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-09 17:41:29 +0000 |
commit | d94f682a4c3e7bab5079d516582f0ee44a3d3f06 (patch) | |
tree | 432ab91b7141e927bdb582c2c364b7bc25e2f939 /synapse/state.py | |
parent | Merge pull request #55 from matrix-org/profiling (diff) | |
download | synapse-d94f682a4c3e7bab5079d516582f0ee44a3d3f06.tar.xz |
During room intial sync, only calculate current state once.
Diffstat (limited to 'synapse/state.py')
-rw-r--r-- | synapse/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/state.py b/synapse/state.py index 695a5e7ac4..54380b9e5c 100644 --- a/synapse/state.py +++ b/synapse/state.py @@ -76,7 +76,7 @@ class StateHandler(object): defer.returnValue(res[1].get((event_type, state_key))) return - defer.returnValue(res[1].values()) + defer.returnValue(res[1]) @defer.inlineCallbacks def compute_event_context(self, event, old_state=None): |