From d96a070a3a6da4e2ff868f656a28f1bfd5f3ea82 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 8 Apr 2016 16:49:39 +0100 Subject: [PATCH] Actually check if we;re processing --- synapse/push/httppusher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py index 38b758e6af..b3b11c5f43 100644 --- a/synapse/push/httppusher.py +++ b/synapse/push/httppusher.py @@ -112,6 +112,8 @@ class HttpPusher(object): @defer.inlineCallbacks def _process(self): + if self.processing: + return try: self.processing = True yield self._unsafe_process()