aquatic_http access list: use in torrent cleaning, do periodic updates

This commit is contained in:
Joakim Frostegård 2021-10-15 23:03:24 +02:00
parent 7fec41099b
commit 10fe014c03
3 changed files with 29 additions and 9 deletions

View file

@ -40,7 +40,7 @@ pub fn run(config: Config) -> anyhow::Result<()> {
loop {
::std::thread::sleep(Duration::from_secs(config.cleaning.interval));
tasks::clean_torrents(&state);
tasks::clean_torrents(&config, &state);
}
}