mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-12 03:40:02 -04:00
Move cache invalidation to main data store
This commit is contained in:
parent
6b2867096b
commit
1056d6885a
6 changed files with 143 additions and 113 deletions
|
@ -32,6 +32,7 @@ from synapse.util.caches.stream_change_cache import StreamChangeCache
|
|||
|
||||
from .account_data import AccountDataStore
|
||||
from .appservice import ApplicationServiceStore, ApplicationServiceTransactionStore
|
||||
from .cache import CacheInvalidationStore
|
||||
from .client_ips import ClientIpStore
|
||||
from .deviceinbox import DeviceInboxStore
|
||||
from .devices import DeviceStore
|
||||
|
@ -110,6 +111,7 @@ class DataStore(
|
|||
MonthlyActiveUsersStore,
|
||||
StatsStore,
|
||||
RelationsStore,
|
||||
CacheInvalidationStore,
|
||||
):
|
||||
def __init__(self, db_conn, hs):
|
||||
self.hs = hs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue