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/devices.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/devices.py')
-rw-r--r-- | synapse/storage/devices.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/devices.py b/synapse/storage/devices.py index d149d8392e..2ed9ada783 100644 --- a/synapse/storage/devices.py +++ b/synapse/storage/devices.py @@ -13,7 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. import logging -import simplejson as json from twisted.internet import defer @@ -21,6 +20,8 @@ from synapse.api.errors import StoreError from ._base import SQLBaseStore, Cache from synapse.util.caches.descriptors import cached, cachedList, cachedInlineCallbacks +from canonicaljson import json + from six import itervalues, iteritems logger = logging.getLogger(__name__) |