mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 03:54:57 -04:00
move DeferredCache into its own module
This commit is contained in:
parent
9f87da0a84
commit
4182bb812f
10 changed files with 367 additions and 332 deletions
|
@ -42,7 +42,8 @@ from synapse.storage.database import DatabasePool
|
|||
from synapse.storage.engines import PostgresEngine
|
||||
from synapse.storage.util.id_generators import MultiWriterIdGenerator, StreamIdGenerator
|
||||
from synapse.types import Collection, get_domain_from_id
|
||||
from synapse.util.caches.descriptors import DeferredCache, cached
|
||||
from synapse.util.caches.deferred_cache import DeferredCache
|
||||
from synapse.util.caches.descriptors import cached
|
||||
from synapse.util.iterutils import batch_iter
|
||||
from synapse.util.metrics import Measure
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue