reduce seconds to minutes
All checks were successful
ci/woodpecker/pr/cargo-checks Pipeline was successful
All checks were successful
ci/woodpecker/pr/cargo-checks Pipeline was successful
This commit is contained in:
parent
b9227cc72b
commit
6a026b7791
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ impl BotInstance {
|
||||||
|
|
||||||
tokio::spawn(async {
|
tokio::spawn(async {
|
||||||
loop {
|
loop {
|
||||||
let routine_mins = 60 * 60 * 24 ; // Every 1 Day
|
let routine_mins = 60 * 24 ; // Every 1 Day
|
||||||
// let routine_mins = 1; // Every 1 Minute
|
// let routine_mins = 1; // Every 1 Minute
|
||||||
Log::remove_old_logs();
|
Log::remove_old_logs();
|
||||||
Log::info(&format!("Internal Purge Routine Triggered - running every {} mins",routine_mins));
|
Log::info(&format!("Internal Purge Routine Triggered - running every {} mins",routine_mins));
|
||||||
|
|
Loading…
Reference in a new issue