0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-05 22:28:54 +01:00

Actually check if we;re processing

This commit is contained in:
David Baker 2016-04-08 16:49:39 +01:00
parent ed3979df5f
commit d96a070a3a

View file

@ -112,6 +112,8 @@ class HttpPusher(object):
@defer.inlineCallbacks @defer.inlineCallbacks
def _process(self): def _process(self):
if self.processing:
return
try: try:
self.processing = True self.processing = True
yield self._unsafe_process() yield self._unsafe_process()