@@ -875,6 +875,9 @@ def start(config_options):
875875
876876 # Force the appservice to start since they will be disabled in the main config
877877 config .notify_appservices = True
878+ else :
879+ # For other worker types we force this to off.
880+ config .notify_appservices = False
878881
879882 if config .worker_app == "synapse.app.pusher" :
880883 if config .start_pushers :
@@ -888,6 +891,9 @@ def start(config_options):
888891
889892 # Force the pushers to start since they will be disabled in the main config
890893 config .start_pushers = True
894+ else :
895+ # For other worker types we force this to off.
896+ config .start_pushers = False
891897
892898 if config .worker_app == "synapse.app.user_dir" :
893899 if config .update_user_directory :
@@ -901,6 +907,9 @@ def start(config_options):
901907
902908 # Force the pushers to start since they will be disabled in the main config
903909 config .update_user_directory = True
910+ else :
911+ # For other worker types we force this to off.
912+ config .update_user_directory = False
904913
905914 if config .worker_app == "synapse.app.federation_sender" :
906915 if config .send_federation :
@@ -914,6 +923,9 @@ def start(config_options):
914923
915924 # Force the pushers to start since they will be disabled in the main config
916925 config .send_federation = True
926+ else :
927+ # For other worker types we force this to off.
928+ config .send_federation = False
917929
918930 synapse .events .USE_FROZEN_DICTS = config .use_frozen_dicts
919931
0 commit comments