diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-10-13 00:14:08 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-13 00:14:08 +1100 |
commit | 381d2cfdf0f02935b743f4b6dc1b5133d7ed27b7 (patch) | |
tree | ff35333a1bd6658ff25ad6465ccc0ed6f27d4e76 /synapse/app/event_creator.py | |
parent | Comments on get_all_new_events_stream (diff) | |
download | synapse-381d2cfdf0f02935b743f4b6dc1b5133d7ed27b7.tar.xz |
Make workers work on Py3 (#4027)
Diffstat (limited to 'synapse/app/event_creator.py')
-rw-r--r-- | synapse/app/event_creator.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/app/event_creator.py b/synapse/app/event_creator.py index 9060ab14f6..e4a68715aa 100644 --- a/synapse/app/event_creator.py +++ b/synapse/app/event_creator.py @@ -178,6 +178,9 @@ def start(config_options): setup_logging(config, use_worker_options=True) + # This should only be done on the user directory worker or the master + config.update_user_directory = False + events.USE_FROZEN_DICTS = config.use_frozen_dicts database_engine = create_engine(config.database_config) |