MatrixSynapse/synapse/util
Patrick Cloke 13ca8bb2fc
Remove duplicated code to evict entries. (#14410)
This code was factored out to a method, but also left in-place.

Calling this twice in a row makes no sense: the first call will reduce
the size appropriately, but the loop will immediately exit since the
cache size was already reduced.
2022-11-10 15:33:34 -05:00
..
caches Remove duplicated code to evict entries. (#14410) 2022-11-10 15:33:34 -05:00
__init__.py Always close _all_ `ijson` coroutines, even if doing so raises Exceptions (#14065) 2022-10-06 18:17:50 +00:00
async_helpers.py Immediately retry any requests that have backed off when a server comes back online. (#12500) 2022-05-10 10:39:54 +01:00
batching_queue.py
cancellation.py Generalise the `@cancellable` annotation so it can be used on functions other than just servlet methods. (#13662) 2022-08-31 11:16:05 +00:00
check_dependencies.py Don't require `setuptools_rust` at runtime (#13952) 2022-09-29 20:16:08 +00:00
daemonize.py Upgrade mypy to version 0.931 (#12030) 2022-02-18 15:57:26 +00:00
distributor.py Use `ParamSpec` in a few places (#12667) 2022-05-09 10:27:39 +00:00
file_consumer.py
frozenutils.py Consistently use collections.abc.Mapping to check frozendict. (#12564) 2022-04-27 09:00:07 -04:00
gai_resolver.py
hash.py
httpresourcetree.py
iterutils.py
linked_list.py
logcontext.py
logformatter.py
macaroons.py Save login tokens in database (#13844) 2022-10-26 11:45:41 +01:00
manhole.py
metrics.py Fix a memory leak when running the unit tests. (#13798) 2022-09-14 15:29:05 +00:00
module_loader.py
msisdn.py
patch_inline_callbacks.py Use `ParamSpec` in a few places (#12667) 2022-05-09 10:27:39 +00:00
ratelimitutils.py Fix rate limit metrics registering twice and misreporting (#13649) 2022-08-30 12:08:29 +01:00
retryutils.py Refactor MSC3030 `/timestamp_to_event` to move away from our snowflake pull from `destination` pattern (#14096) 2022-10-26 16:10:55 -05:00
rlimit.py
rust.py Check if Rust lib needs rebuilding. (#13759) 2022-09-12 10:03:42 +00:00
stringutils.py Making parse_server_name more consistent (#14007) 2022-10-11 12:42:11 +00:00
templates.py Implement a Jinja2 filter to extract localparts from email addresses (#12212) 2022-03-11 15:15:11 +00:00
threepids.py
wheel_timer.py Prevent memory leak from reoccurring when presence is disabled. (#12656) 2022-05-06 16:41:57 +00:00