Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Commit 96656c1

Browse files
committed
Ignore type checking on explicit disable
1 parent 64b476a commit 96656c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/storage/databases/main/events_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def __init__(
249249
# TODO: temporary explicit disable of this cache due to thrashing requests
250250
# burning CPU. Possibly need to move this cache to where we get events from DB.
251251
if external_sharded_cache.is_enabled() and False:
252-
self._get_event_cache = RedisLruCache(
252+
self._get_event_cache = RedisLruCache( # type: ignore
253253
cache_name="*getEvent*",
254254
max_size=hs.config.caches.event_cache_size,
255255
redis_shard_cache=external_sharded_cache,

0 commit comments

Comments
 (0)