Don't notify pusher pool for backfilled events

This commit is contained in:
Erik Johnston 2016-07-20 13:25:06 +01:00
parent 1e2a7f18a1
commit 57dca35692

View File

@ -1118,6 +1118,7 @@ class FederationHandler(BaseHandler):
backfilled=backfilled,
)
if not backfilled:
# this intentionally does not yield: we don't care about the result
# and don't need to wait for it.
preserve_fn(self.hs.get_pusherpool().on_new_notifications)(