forked-synapse/synapse/util
Erik Johnston f85b6ca494 Speed up cache size calculation
Instead of calculating the size of the cache repeatedly, which can take
a long time now that it can use a callback, instead cache the size and
update that on insertion and deletion.

This requires changing the cache descriptors to have two caches, one for
pending deferreds and the other for the actual values. There's no reason
to evict from the pending deferreds as they won't take up any more
memory.
2017-01-17 11:18:13 +00:00
..
caches Speed up cache size calculation 2017-01-17 11:18:13 +00:00
__init__.py Correctly handle timeout errors 2016-12-09 16:30:29 +00:00
async.py Add paranoia exception catch in Linearizer 2017-01-10 14:04:13 +00:00
distributor.py Remove registered_users from the distributor. 2016-06-17 19:14:16 +01:00
frozenutils.py copyrights 2016-01-07 04:26:29 +00:00
httpresourcetree.py Split out create_resource_tree to a separate file 2016-04-22 15:40:51 +01:00
jsonobject.py Handle sending events and device messages over federation 2016-11-17 15:48:04 +00:00
logcontext.py Preserve some logcontexts 2016-08-24 11:58:40 +01:00
logutils.py Fix up logcontexts 2016-02-08 14:26:45 +00:00
manhole.py Add a metrics listener and a ssh listener to the pusher 2016-04-25 17:34:25 +01:00
metrics.py Only abort Measure on Exceptions 2016-08-19 18:23:45 +01:00
ratelimitutils.py Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
retryutils.py Use correct var 2016-11-24 15:26:53 +00:00
rlimit.py Move the versionstring code out of app.homeserver into util 2016-04-11 14:57:09 +01:00
stringutils.py Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
versionstring.py Add federation /version API 2016-08-05 16:36:07 +01:00
wheel_timer.py Add presence metrics 2016-02-19 09:50:54 +00:00