mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 09:56:05 -04:00
Remove lru option
This commit is contained in:
parent
4161ff2fc4
commit
ba214a5e32
9 changed files with 18 additions and 33 deletions
|
@ -72,7 +72,7 @@ class CacheTestCase(unittest.TestCase):
|
|||
cache.get(3)
|
||||
|
||||
def test_eviction_lru(self):
|
||||
cache = Cache("test", max_entries=2, lru=True)
|
||||
cache = Cache("test", max_entries=2)
|
||||
|
||||
cache.prefill(1, "one")
|
||||
cache.prefill(2, "two")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue