Commit Graph

24 Commits (bd2373277de8fd571d8eb0af38b107065e567a02)

Author SHA1 Message Date
Mark Haines e020574d65 Fix Formatting 10 years ago
Mark Haines b19cf6a105 Wait for events if the incremental sync is empty and a timeout is given 10 years ago
Mark Haines dc70d1fef8 Only start the notifier timeout once we've had a chance to check for updates. Otherwise the timeout could fire while we are waiting for the database to return any updates it might have 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Paul "LeoNerd" Evans 0c1deca574 Remember to hook up the typing event stream to the notifier as well 10 years ago
Mark Haines db9ce032a4 Fix pep8 codestyle warnings 10 years ago
Mark Haines 32090aee16 Add a few missing yields, Move deferred lists inside PreserveLoggingContext because they don't interact well with the logging contexts 10 years ago
Mark Haines 0d1221155e remove unused import 10 years ago
Mark Haines 97c7c34f6f Preserve logging context in a few more places, drop the logging context after it has been stashed to reduce potential for confusion 10 years ago
Mark Haines 7d709542ca Fix pep8 warnings 10 years ago
Paul "LeoNerd" Evans beae9acfcc Use floating-point rather than integer division to handle timeouts so that non-zero but sub-second waits don't collapse to zero 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Paul "LeoNerd" Evans 061e814195 Make sure to print exceptions properly from notifier failures 10 years ago
Paul "LeoNerd" Evans eec67a675f Have EventSource's get_new_events_for_user() API work only on keys within that source, not overall eventstream tokens 10 years ago
Erik Johnston f07f538ac7 When notifying listeners, don't do so in a serial fashion 10 years ago
Erik Johnston 8113eb7c79 Turn of trace_function logging 10 years ago
Erik Johnston eb3094ed31 And more logging. 10 years ago
Erik Johnston 410a74b0f3 If timeout=0, return immediately 10 years ago
Erik Johnston 226025e9ca Comments! 10 years ago
Erik Johnston bfe9faad5a Index sources in a nicer fashion. 10 years ago
Erik Johnston bd16b93e8f Implement presence event source. Change the way the notifier indexes listeners 10 years ago
Erik Johnston 67c5f89244 Enable presence again. Fix up api to match old api. 10 years ago
Erik Johnston 3a2a5b959c WIP: Completely change how event streaming and pagination work. This reflects the change in the underlying storage model. 10 years ago