mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix appservices being backlogged and not receiving new events due to a bug in notify_interested_services
This commit is contained in:
parent
f851bc8182
commit
45fbe4ff67
@ -74,7 +74,7 @@ class ApplicationServicesHandler(object):
|
||||
limit = 100
|
||||
while True:
|
||||
upper_bound, events = yield self.store.get_new_events_for_appservice(
|
||||
upper_bound, limit
|
||||
self.current_max, limit
|
||||
)
|
||||
|
||||
if not events:
|
||||
@ -105,9 +105,6 @@ class ApplicationServicesHandler(object):
|
||||
)
|
||||
|
||||
yield self.store.set_appservice_last_pos(upper_bound)
|
||||
|
||||
if len(events) < limit:
|
||||
break
|
||||
finally:
|
||||
self.is_processing = False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user