mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 16:29:24 -05:00
e5300063ed
When we get behind on replication, we tend to stack up background processes behind a linearizer. Bg processes are heavy (particularly with respect to prometheus metrics) and linearizers aren't terribly efficient once the queue gets long either. A better approach is to maintain a queue of requests to be processed, and nominate a single process to work its way through the queue. Fixes: #7444 |
||
---|---|---|
.. | ||
streams | ||
__init__.py | ||
client.py | ||
commands.py | ||
handler.py | ||
protocol.py | ||
redis.py | ||
resource.py |