mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 23:20:09 +03:00
Add call later
This commit is contained in:
parent
3e123b8497
commit
168524543f
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ class UserDirectoyHandler(object):
|
||||||
|
|
||||||
self._is_processing = False
|
self._is_processing = False
|
||||||
|
|
||||||
|
self.clock.call_later(0, self.notify_new_event)
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def notify_new_event(self):
|
def notify_new_event(self):
|
||||||
if self._is_processing:
|
if self._is_processing:
|
||||||
|
|
Loading…
Reference in a new issue