summary refs log tree commit diff
path: root/synapse/api/auth_blocking.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-06Improve per-block CPU and DB usage metrics (#7426)Patrick Cloke2-12/+27
2020-05-06Port group attestation renewal slow down from matrix-org-hotfixes (#7442)Andrew Morgan2-4/+3
2020-05-06Make redis go faster with hiredis (#7439)Richard van der Hoff2-1/+4
For the record, the reason we need this is as follows: each RDATA command comes down the redis pipe as a subscription message. txredisapi as written needs at least three reactor ticks to read each subscription message from the tcp buffer. Hence, once the process gets loaded, it starts getting behind, and eventually redis knifes the connection. it then takes ages for the master to work its way through the backlog, before it reconnects again, during which any commands from any workers are dropped.
2020-05-06Stop Auth methods from polling the config on every req. (#7420)Andrew Morgan7-106/+168
2020-05-06fix bad mergeRichard van der Hoff1-19/+3
2020-05-06Make get_e2e_cross_signing_key delegate to get_e2e_cross_signing_keys_bulkRichard van der Hoff2-54/+7
... mostly because the latter has a cache.
2020-05-06Fix batching for fetching cross-signing keysRichard van der Hoff1-23/+15
There's no point carefully dividing a list into batches, and then completely ignoring the batches.
2020-05-06use an upsert to update device_lists_outbound_last_successRichard van der Hoff4-18/+72
2020-05-06Better type annotations for simple_upsert_txnRichard van der Hoff1-30/+43