Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Move pusherpool startup into _base.setup #7104

Merged
merged 1 commit into from
Mar 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/7104.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Merge worker apps together.
1 change: 1 addition & 0 deletions synapse/app/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ def handle_sighup(*args, **kwargs):
# It is now safe to start your Synapse.
hs.start_listening(listeners)
hs.get_datastore().db.start_profiling()
hs.get_pusherpool().start()

setup_sentry(hs)
setup_sdnotify(hs)
Expand Down
1 change: 0 additions & 1 deletion synapse/app/homeserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ def start():

_base.start(hs, config.listeners)

hs.get_pusherpool().start()
hs.get_datastore().db.updates.start_doing_background_updates()
except Exception:
# Print the exception and bail out.
Expand Down