mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Update test
This commit is contained in:
parent
7afb4e3f54
commit
29a4066a4d
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ class CacheDecoratorTestCase(unittest.TestCase):
|
|||
callcount2 = [0]
|
||||
|
||||
class A(object):
|
||||
@cached(max_entries=20) # HACK: This makes it 2 due to cache factor
|
||||
@cached(max_entries=4) # HACK: This makes it 2 due to cache factor
|
||||
def func(self, key):
|
||||
callcount[0] += 1
|
||||
return key
|
||||
|
|
Loading…
Reference in a new issue