mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-21 09:14:05 -04:00
Allow configuration of Synapse's cache without using synctl or environment variables (#6391)
This commit is contained in:
parent
a8580c5f19
commit
7cb8b4bc67
32 changed files with 620 additions and 146 deletions
|
@ -21,7 +21,7 @@ from tests.utils import MockClock
|
|||
from .. import unittest
|
||||
|
||||
|
||||
class ExpiringCacheTestCase(unittest.TestCase):
|
||||
class ExpiringCacheTestCase(unittest.HomeserverTestCase):
|
||||
def test_get_set(self):
|
||||
clock = MockClock()
|
||||
cache = ExpiringCache("test", clock, max_len=1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue