synapse-product/synapse/util
Richard van der Hoff c0df6bae06
Remove keylen from LruCache. (#9993)
`keylen` seems to be a thing that is frequently incorrectly set, and we don't really need it.

The only time it was used was to figure out if we had removed a subtree in `del_multi`, which we can do better by changing `TreeCache.pop` to return a different type (`TreeCacheNode`).

Commits should be independently reviewable.
2021-05-24 14:02:01 +01:00
..
caches Remove keylen from LruCache. (#9993) 2021-05-24 14:02:01 +01:00
__init__.py Merge pull request from GHSA-x345-32rc-8h85 2021-05-11 11:47:23 +02:00
async_helpers.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
batching_queue.py Add a batching queue implementation. (#10017) 2021-05-21 11:20:51 +01:00
daemonize.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
distributor.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
file_consumer.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
frozenutils.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
hash.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
httpresourcetree.py Replace instance variations of homeserver with correct case/spacing 2019-11-12 13:08:12 +00:00
iterutils.py Remove synapse.types.Collection (#9856) 2021-04-22 16:43:50 +01:00
jsonobject.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
logcontext.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
logformatter.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
macaroons.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
manhole.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
metrics.py Merge branch 'master' into develop 2021-04-20 14:55:16 +01:00
module_loader.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
msisdn.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
patch_inline_callbacks.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
ratelimitutils.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
retryutils.py Don't hammer the database for destination retry timings every ~5mins (#10036) 2021-05-21 17:57:08 +01:00
rlimit.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
stringutils.py Simplify exception handling in is_ascii. (#9985) 2021-05-14 10:58:52 +01:00
templates.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
threepids.py Limit length of accepted email addresses (#9855) 2021-04-22 17:49:11 +01:00
versionstring.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
wheel_timer.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00