diff options
author | Erik Johnston <erik@matrix.org> | 2018-02-14 13:55:33 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-02-15 09:51:09 +0000 |
commit | 5aec53ad95737e93b1518ca76697f1e795284edf (patch) | |
tree | 74de512e39d6242fabf77170bfee0433205c4aca /synapse | |
parent | Increase store._state_group_cache cache size (diff) | |
download | synapse-5aec53ad95737e93b1518ca76697f1e795284edf.tar.xz |
Don't intern type/state_keys in state store
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/state.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index 08a648ce44..91a66e07c9 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -532,8 +532,7 @@ class StateGroupWorkerStore(SQLBaseStore): state_dict = results[group] state_dict.update( - ((intern_string(k[0]), intern_string(k[1])), to_ascii(v)) - for k, v in group_state_dict.iteritems() + group_state_dict.iteritems() ) self._state_group_cache.update( |