diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-06-28 14:49:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-28 14:49:57 +0100 |
commit | 6350bf925e8651f2fae70a1e7eb7182e9161c34a (patch) | |
tree | 35e766fcb2dabcd1e8978c417709b353d5fdf4bc /synapse/storage/account_data.py | |
parent | Revert "Revert "Try to not use as much CPU in the StreamChangeCache"" (#3454) (diff) | |
download | synapse-6350bf925e8651f2fae70a1e7eb7182e9161c34a.tar.xz |
Attempt to be more performant on PyPy (#3462)
Diffstat (limited to 'synapse/storage/account_data.py')
-rw-r--r-- | synapse/storage/account_data.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/account_data.py b/synapse/storage/account_data.py index 284ec3c970..7034a61399 100644 --- a/synapse/storage/account_data.py +++ b/synapse/storage/account_data.py @@ -22,8 +22,9 @@ from synapse.storage.util.id_generators import StreamIdGenerator from synapse.util.caches.stream_change_cache import StreamChangeCache from synapse.util.caches.descriptors import cached, cachedInlineCallbacks +from canonicaljson import json + import abc -import simplejson as json import logging logger = logging.getLogger(__name__) |