mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-21 03:42:55 +03:00
pep8 again
This commit is contained in:
parent
dde01efbcb
commit
3add16df49
1 changed files with 3 additions and 1 deletions
|
@ -53,7 +53,9 @@ class ProfileHandler(BaseHandler):
|
||||||
if len(self.hs.config.replicate_user_profiles_to) > 0:
|
if len(self.hs.config.replicate_user_profiles_to) > 0:
|
||||||
reactor.callWhenRunning(self._assign_profile_replication_batches)
|
reactor.callWhenRunning(self._assign_profile_replication_batches)
|
||||||
reactor.callWhenRunning(self._replicate_profiles)
|
reactor.callWhenRunning(self._replicate_profiles)
|
||||||
self.clock.looping_call(self._replicate_profiles, self.PROFILE_REPLICATE_INTERVAL)
|
self.clock.looping_call(
|
||||||
|
self._replicate_profiles, self.PROFILE_REPLICATE_INTERVAL
|
||||||
|
)
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _assign_profile_replication_batches(self):
|
def _assign_profile_replication_batches(self):
|
||||||
|
|
Loading…
Reference in a new issue