summary refs log tree commit diff
path: root/synapse/replication/tcp/resource.py (unfollow)
Commit message (Collapse)AuthorFilesLines
0 min.Update workers docsErik Johnston1-10/+5
0 min.Remove test of replication resourceErik Johnston1-204/+0
0 min.Remove HTTP replication APIsErik Johnston5-753/+0
0 min.TypoErik Johnston1-1/+1
0 min.Rename variableErik Johnston1-7/+7
0 min.Up replication ping timeoutErik Johnston1-2/+4
0 min.Revert to sending the same data type as beforeErik Johnston1-2/+2
0 min.Change nameErik Johnston1-2/+2
0 min.CommentsErik Johnston2-6/+8
0 min.CommentErik Johnston1-0/+9
0 min.CommentErik Johnston1-2/+15
0 min.Add loggingErik Johnston1-0/+8
0 min.Fix up federation SendQueue and document typesErik Johnston2-91/+221
0 min.Speed up get_current_state_idsErik Johnston1-10/+17
Using _simple_select_list is fairly expensive for functions that return a lot of rows and/or get called a lot. (This is because it carefully constructs a list of dicts). get_current_state_ids gets called a lot on startup and e.g. when the IRC bridge decided to send tonnes of joins/leaves (as it invalidates the cache). We therefore replace it with a custon txn function that builds up the final result dict without building up and intermediate representation.
0 min.fix typo in synctl helpKim Brose1-1/+1
0 min.Use iteritemsErik Johnston1-2/+2
0 min.CommentErik Johnston1-1/+1
0 min.Document types of the replication streamsErik Johnston1-28/+76
0 min.DocsErik Johnston1-0/+7
0 min.Fix incorrect type when using InvalidateCacheCommandErik Johnston1-1/+1
0 min.Support authenticated SMTPDaniel Dent2-1/+21
Closes (SYN-714) #1385 Signed-off-by: Daniel Dent <matrixcontrib@contactdaniel.net>
0 min.Add log linesErik Johnston1-1/+2
0 min.Rearrange metricsErik Johnston2-19/+31
0 min.Fix typoErik Johnston1-2/+2
0 min.Fixup some metrics for tcp replErik Johnston2-0/+19
0 min.Don't immediately notify the master about users whose syncs have gone awayErik Johnston1-4/+36
0 min.Don't double json encode typing replication dataErik Johnston2-6/+2
0 min.Don't double json encode federation replication dataErik Johnston2-13/+10
0 min.Add commentErik Johnston1-0/+5
0 min.Deduplicate new deviceinbox rows for replicationErik Johnston1-4/+7
0 min.Add the appropriate amount of preserve_fnErik Johnston4-17/+19
0 min.Fiddle tcp replication loggingErik Johnston1-2/+2
0 min.Advance 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.
0 min.Remove unused worker config optionErik Johnston1-1/+0
0 min.Shuffle and comment synchrotron presenceErik Johnston1-9/+11
0 min.Move where we ack federationErik Johnston1-7/+16
0 min.Accept 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).
0 min.Remove 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.
0 min.Remove 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.
0 min.