forked-synapse/synapse/push
Erik Johnston c9dbee50ae
Fixup pusher pool notifications (#8287)
`pusher_pool.on_new_notifications` expected a min and max stream ID, however that was not what we were passing in. Instead, let's just pass it the current max stream ID and have it track the last stream ID it got passed.

I believe that it mostly worked as we called the function for every event. However, it would break for events that got persisted out of order, i.e, that were persisted but the max stream ID wasn't incremented as not all preceding events had finished persisting, and push for that event would be delayed until another event got pushed to the effected users.
2020-09-09 16:56:08 +01:00
..
__init__.py Remove code that's now been obsoleted or moved elsewhere 2016-04-07 16:31:38 +01:00
action_generator.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
baserules.py Incorporate review 2020-08-06 10:52:26 +01:00
bulk_push_rule_evaluator.py Only add rows to the push actions table if the event notifies or should be marked unread (#8274) 2020-09-07 16:56:27 +01:00
clientformat.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
emailpusher.py Fixup pusher pool notifications (#8287) 2020-09-09 16:56:08 +01:00
httppusher.py Fixup pusher pool notifications (#8287) 2020-09-09 16:56:08 +01:00
mailer.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
presentable_names.py Convert push to async/await. (#7948) 2020-07-27 12:21:34 -04:00
push_rule_evaluator.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
push_tools.py Unread counts fixes (#8254) 2020-09-04 14:14:22 +01:00
pusher.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
pusherpool.py Fixup pusher pool notifications (#8287) 2020-09-09 16:56:08 +01:00
rulekinds.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00