Fix cache: config block parsing

pull/6391/head
Andrew Morgan 2020-05-01 15:36:02 +01:00
parent 83cf583adf
commit 424215a0c3
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class CacheConfig(Config):
)
self.cache_factors = {} # type: Dict[str, float]
cache_config = config.get("caches", {})
cache_config = config.get("caches") or {}
self.global_factor = cache_config.get(
"global_factor", properties.default_factor_size
)