mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-28 21:22:02 +00:00
Remove spurious self.size
This commit is contained in:
parent
a30364c1f9
commit
c046630c33
@ -140,7 +140,6 @@ class LruCache(object):
|
|||||||
list_root[NEXT] = list_root
|
list_root[NEXT] = list_root
|
||||||
list_root[PREV] = list_root
|
list_root[PREV] = list_root
|
||||||
cache.clear()
|
cache.clear()
|
||||||
self.size = 0
|
|
||||||
|
|
||||||
@synchronized
|
@synchronized
|
||||||
def cache_len():
|
def cache_len():
|
||||||
|
Loading…
Reference in New Issue
Block a user