summary refs log tree commit diff
path: root/synctl (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-04-04Fiddle tcp replication loggingErik Johnston1-2/+2
2017-04-04Advance replication streams even if nothing is listeningErik Johnston3-6/+15
Otherwise the streams don't advance and steadily fall behind, so when a worker does connect either a) they'll be streamed lots of old updates or b) the connection will fail as the streams are too far behind.
2017-04-03Accept join events from all serversRichard van der Hoff2-5/+19
Make sure that we accept join events from any server, rather than just the origin server, to make the federation join dance work correctly. (Fixes #1893).
2017-04-03Remove spurious yieldRichard van der Hoff1-1/+1
In `MessageHandler`, remove `yield` on call to `Notifier.on_new_room_event`: it doesn't return anything anyway.
2017-04-03Remove more spurious `PreserveLoggingContext`sRichard van der Hoff1-24/+19
Remove `PreserveLoggingContext` around calls to `Notifier.on_new_room_event`; there is no problem if the logcontext is set when calling it.
2017-04-03Remove spurious PreserveLoggingContextRichard van der Hoff1-6/+5
In `on_new_room_event`, remove `PreserveLoggingContext` - we can call its subroutines with the logcontext set.
2017-04-03preserve_fn some deferred-returning thingsRichard van der Hoff1-2/+5
In `Notifier._on_new_room_event`, `preserve_fn` around its subroutines which return deferreds, so that it is safe to call it with an active logcontext.
2017-04-03Fix fixme in preserve_fnRichard van der Hoff1-5/+1
`preserve_fn` is no longer used as a decorator anywhere, so we can safely fix a fixme therein.
2017-04-03Always advance stream tokensErik Johnston1-1/+4
2017-04-03Remove spurious @preserve_fn decoratorsRichard van der Hoff1-5/+0
Remove `@preserve_fn` decorators on `on_new_room_event`, `_notify_pending_new_room_events`, `_on_new_room_event`, `on_new_event`, and `on_new_replication_data` - none of these functions return a deferred, and the decorator does nothing unless the wrapped function returns a deferred, so the decorator was a no-op.
2017-03-31Use callbacks to notify tcp replication rather than deferredsErik Johnston2-20/+12
2017-03-31Add a timestamp to USER_SYNC commandErik Johnston4-16/+24
This timestamp is used to indicate when the user last sync'd
2017-03-31switch to allow_guest=True for authing 3Ps as per PR feedbackMatthew Hodgson1-0/+8
2017-03-31Fix up presenceErik Johnston1-1/+3
2017-03-31Add a brief list of commands to docsErik Johnston1-0/+46
2017-03-31Fix up docsErik Johnston4-28/+12
2017-03-31Remove unused instance variableErik Johnston1-4/+0
2017-03-30Speed up copy_and_replaceErik Johnston1-3/+1
2017-03-30DocsErik Johnston1-0/+5
2017-03-30Revert log context changeErik Johnston1-3/+0
2017-03-30Bump version and changelog v0.20.0-rc1Erik Johnston2-1/+45
2017-03-30Remove user from process_presence when stops syncingErik Johnston1-0/+1
2017-03-30Doc new instance variablesErik Johnston1-1/+8
2017-03-30Fix up testsErik Johnston3-2/+42
2017-03-30Manually calculate cache key as getcallargs is expensiveErik Johnston1-6/