mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 02:55:46 +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.clock.call_later(0, self.notify_new_event)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def notify_new_event(self):
|
||||
if self._is_processing:
|
||||
|
|
Loading…
Reference in a new issue