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 Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
cancellation.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
check_dependencies.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
daemonize.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
distributor.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
events.py Add a utility function for generating fake event IDs (#17557) 2024-08-13 16:55:05 +00:00
file_consumer.py Update license headers 2023-11-21 15:29:58 -05:00
frozenutils.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
gai_resolver.py Bump twisted from 22.10.0 to 23.8.0 (#16235) 2023-09-05 11:14:14 +00:00
hash.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
httpresourcetree.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
iterutils.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
linked_list.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
logcontext.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
logformatter.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
macaroons.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
manhole.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
metrics.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
module_loader.py Update license headers 2023-11-21 15:29:58 -05:00
msisdn.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
patch_inline_callbacks.py Update license headers 2023-11-21 15:29:58 -05:00
ratelimitutils.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
retryutils.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
rlimit.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
rust.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
stringutils.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
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 Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
threepids.py Update license headers 2023-11-21 15:29:58 -05:00
wheel_timer.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00