mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:26:09 -04:00
Only start pushers when synapse has fully started
This commit is contained in:
parent
46daf2d200
commit
c27d6ad6b5
2 changed files with 5 additions and 4 deletions
|
@ -442,11 +442,15 @@ def setup(config_options):
|
|||
|
||||
hs.start_listening()
|
||||
|
||||
hs.get_pusherpool().start()
|
||||
hs.get_state_handler().start_caching()
|
||||
hs.get_datastore().start_profiling()
|
||||
hs.get_replication_layer().start_get_pdu_cache()
|
||||
|
||||
def on_start():
|
||||
hs.get_pusherpool().start()
|
||||
|
||||
reactor.callWhenRunning(on_start)
|
||||
|
||||
return hs
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue