mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
move pdu_cache to service
This commit is contained in:
parent
fb534d8140
commit
7563360bee
6 changed files with 44 additions and 40 deletions
|
|
@ -130,9 +130,10 @@ impl Services {
|
|||
(100.0 * config.cache_capacity_modifier) as usize,
|
||||
)),
|
||||
},
|
||||
timeline: rooms::timeline::Service {
|
||||
timeline: rooms::timeline::Service::new(
|
||||
db,
|
||||
},
|
||||
config.pdu_cache_capacity,
|
||||
),
|
||||
threads: rooms::threads::Service {
|
||||
db,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue