summary refs log tree commit diff
path: root/scripts-dev/check_auth.py (unfollow)
<
Commit message (Collapse)AuthorFilesLines
2017-04-11Move get_presence_list_* to SlaveStoreErik Johnston3-24/+13
2017-04-11CommentErik Johnston2-1/+9
2017-04-11Move get_interested_partiesErik Johnston2-38/+36
2017-04-11CommentsErik Johnston2-9/+10
2017-04-11Move get_interested_remotes back to presence handlerErik Johnston2-38/+55
2017-04-11CommentsErik Johnston1-1/+14
2017-04-10Reduce federation presence replication trafficErik Johnston6-80/+139
This is mainly done by moving the calculation of where to send presence updates from the presence handler to the transaction queue, so we only need to send the presence event (and not the destinations) across the replication connection. Before we were duplicating by sending the full state across once per destination.
2017-04-10TypoErik Johnston1-1/+1
2017-04-10Rename variableErik Johnston1-7/+7
2017-04-10Up replication ping timeoutErik Johnston1-2/+4
2017-04-10Revert to sending the same data type as beforeErik Johnston1-2/+2
2017-04-10Change nameErik Johnston1-2/+2
2017-04-10CommentsErik Johnston2-6/+8
2017-04-07CommentErik Johnston1-0/+9
2017-04-07CommentErik Johnston1-2/+15
2017-04-07Add loggingErik Johnston1-0/+8
2017-04-07Fix up federation SendQueue and document typesErik Johnston2-91/+221
2017-04-07Speed 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.
2017-04-06fix typo in synctl helpKim Brose1-1/+1
2017-04-06Use iteritemsErik Johnston1-2/+2
2017-04-06CommentErik Johnston1-1/+1
2017-04-06Document types of the replication streamsErik Johnston1-28/+76
2017-04-06DocsErik Johnston1-0/+7
2017-04-06Fix incorrect type when using InvalidateCacheCommandErik Johnston1-1/+1
2017-04-05Support authenticated SMTPDaniel Dent2-1/+21
Closes (SYN-714) #1385 Signed-off-by: Daniel Dent <matrixcontrib@contactdaniel.net>
2017-04-05Add log linesErik Johnston1-1/+2
2017-04-05Rearrange metricsErik Johnston2-19/+31
2017-04-05Fix typoErik Johnston1-2/+2
2017-04-05Fixup some metrics for tcp replErik Johnston2-0/+19
2017-04-05Don't immediately notify the master about users whose syncs have gone awayErik Johnston1-4/+36
2017-04-05Don't double json encode typing replication dataErik Johnston2-6/+2
2017-04-05Don't double json encode federation replication dataErik Johnston2-13/+10
2017-04-04Add commentErik Johnston1-0/+5
2017-04-04Deduplicate new deviceinbox rows for replicationErik Johnston1-4/+7
2017-04-04Add the appropriate amount of preserve_fnErik Johnston4-17/+19
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-04Remove unused worker config optionErik Johnston1-1/+0
2017-04-04Shuffle and comment synchrotron presenceErik Johnston1-9/+11
2017-04-04Move where we ack federationErik Johnston1-7/+16
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