mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
aquatic_http access list: use in torrent cleaning, do periodic updates
This commit is contained in:
parent
7fec41099b
commit
10fe014c03
3 changed files with 29 additions and 9 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue