move pdu_cache to service

This commit is contained in:
Charles Hall 2024-09-30 20:37:50 -07:00
parent fb534d8140
commit 7563360bee
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
6 changed files with 44 additions and 40 deletions

View file

@ -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,
},