Update synapse/config/cache.py
Co-Authored-By: Erik Johnston <erik@matrix.org>pull/6391/head
parent
546c23e496
commit
7117b89b58
|
@ -55,6 +55,10 @@ class CacheConfig(Config):
|
|||
|
||||
@staticmethod
|
||||
def _reset():
|
||||
"""Resets the caches to their defaults.
|
||||
|
||||
Used for tests.
|
||||
"""
|
||||
global DEFAULT_CACHE_SIZE_FACTOR
|
||||
global _ENSURE_CORRECT_CACHE_SIZING
|
||||
|
||||
|
|
Loading…
Reference in New Issue