mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-09-05 23:49:53 +08:00
feat: 支持各种任务结束之后的 delay 配置 (#148)
This commit is contained in:
@@ -9,7 +9,6 @@ mod downloader;
|
||||
mod error;
|
||||
mod utils;
|
||||
mod workflow;
|
||||
use std::time::Duration;
|
||||
|
||||
use once_cell::sync::Lazy;
|
||||
use tokio::time;
|
||||
@@ -74,6 +73,6 @@ async fn main() {
|
||||
info!("稍后再看处理完毕");
|
||||
info!("本轮任务执行完毕,等待下一轮执行");
|
||||
}
|
||||
time::sleep(Duration::from_secs(CONFIG.interval)).await;
|
||||
time::sleep(time::Duration::from_secs(CONFIG.interval)).await;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user