summary refs log tree commit diff
path: root/synapse/util/lockutils.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-02-23 18:41:58 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-02-23 18:41:58 +0000
commit9640510de206d673e4c0c9cbd1cef219bcd488b2 (patch)
tree1f6c068901634d7f24380ca2bf617e731c33a63d /synapse/util/lockutils.py
parentUse cache.pop() instead of a separate membership test + del [] (diff)
downloadsynapse-9640510de206d673e4c0c9cbd1cef219bcd488b2.tar.xz
Use OrderedDict for @cached backing store, so we can evict the oldest key unbiased
Diffstat (limited to 'synapse/util/lockutils.py')
0 files changed, 0 insertions, 0 deletions