This commit is contained in:
Mike Dilger 2023-01-06 15:49:16 +13:00
parent b81abadbba
commit 1046be777f

View File

@ -277,7 +277,10 @@ impl Minion {
let mut filters: Vec<Filter> = Vec::new();
let (overlap, feed_chunk) = {
let settings = GLOBALS.settings.read().await.clone();
(Duration::from_secs(settings.overlap), Duration::from_secs(settings.feed_chunk))
(
Duration::from_secs(settings.overlap),
Duration::from_secs(settings.feed_chunk),
)
};
let followed_pubkeys = GLOBALS.people.read().await.get_followed_pubkeys();