forked-synapse/synapse/util
Erik Johnston a51daffba5
Reduce concurrent thread usage in media (#17567)
Follow on from #17558

Basically, we want to reduce the number of threads we want to use at a
time, i.e. reduce the number of threads that are paused/blocked. We do
this by returning from the thread when the consumer pauses the producer,
rather than pausing in the thread.

---------

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2024-08-14 12:41:53 +01:00
..
caches Speed up SS room sorting (#17468) 2024-07-23 14:03:14 +01:00
__init__.py Ensure that pending to-device events are sent over federation at startup (#16925) 2024-03-22 13:24:11 +00:00
async_helpers.py Reduce concurrent thread usage in media (#17567) 2024-08-14 12:41:53 +01:00
batching_queue.py
cancellation.py
check_dependencies.py
daemonize.py
distributor.py
events.py Add a utility function for generating fake event IDs (#17557) 2024-08-13 16:55:05 +00:00
file_consumer.py
frozenutils.py
gai_resolver.py
hash.py
httpresourcetree.py
iterutils.py
linked_list.py
logcontext.py
logformatter.py
macaroons.py
manhole.py
metrics.py
module_loader.py
msisdn.py
patch_inline_callbacks.py
ratelimitutils.py
retryutils.py
rlimit.py
rust.py
stringutils.py
task_scheduler.py Add logging to tasks managed by the task scheduler, showing CPU and database usage. (#17219) 2024-05-22 14:12:58 +01:00
templates.py
threepids.py
wheel_timer.py