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:
parent
ed3979df5f
commit
d96a070a3a
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue