summary refs log tree commit diff
path: root/scripts-dev/check_auth.py (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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-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