mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:06:05 -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
|
@ -19,8 +19,6 @@ from twisted.internet import defer
|
|||
from httppusher import HttpPusher
|
||||
from synapse.push import PusherConfigException
|
||||
|
||||
from synapse.util.async import run_on_reactor
|
||||
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
@ -50,7 +48,6 @@ class PusherPool:
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def start(self):
|
||||
yield run_on_reactor()
|
||||
pushers = yield self.store.get_all_pushers()
|
||||
self._start_pushers(pushers)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue