summary refs log tree commit diff
path: root/synapse/app/event_creator.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-10-13 00:14:08 +1100
committerGitHub <noreply@github.com>2018-10-13 00:14:08 +1100
commit381d2cfdf0f02935b743f4b6dc1b5133d7ed27b7 (patch)
treeff35333a1bd6658ff25ad6465ccc0ed6f27d4e76 /synapse/app/event_creator.py
parentComments on get_all_new_events_stream (diff)
downloadsynapse-381d2cfdf0f02935b743f4b6dc1b5133d7ed27b7.tar.xz
Make workers work on Py3 (#4027)
Diffstat (limited to 'synapse/app/event_creator.py')
-rw-r--r--synapse/app/event_creator.py3
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)