diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-15 23:43:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-03-15 23:43:31 +0000 |
commit | 926ba76e23ea9d55638baff541cdfaeb9e01ac47 (patch) | |
tree | 0fb744087cf47900122e60d5fa4b17765588a6b7 /synapse/storage/schema/delta/25 | |
parent | Merge pull request #2798 from jeremycline/fedora-repo (diff) | |
download | synapse-926ba76e23ea9d55638baff541cdfaeb9e01ac47.tar.xz |
Replace ujson with simplejson
Diffstat (limited to 'synapse/storage/schema/delta/25')
-rw-r--r-- | synapse/storage/schema/delta/25/fts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/schema/delta/25/fts.py b/synapse/storage/schema/delta/25/fts.py index 4269ac69ad..e7351c3ae6 100644 --- a/synapse/storage/schema/delta/25/fts.py +++ b/synapse/storage/schema/delta/25/fts.py @@ -17,7 +17,7 @@ import logging from synapse.storage.prepare_database import get_statements from synapse.storage.engines import PostgresEngine, Sqlite3Engine -import ujson +import simplejson logger = logging.getLogger(__name__) @@ -66,7 +66,7 @@ def run_create(cur, database_engine, *args, **kwargs): "max_stream_id_exclusive": max_stream_id + 1, "rows_inserted": 0, } - progress_json = ujson.dumps(progress) + progress_json = simplejson.dumps(progress) sql = ( "INSERT into background_updates (update_name, progress_json)" |