Fix Logs Flushing only every 60 days #50

Merged
modulatingforce merged 1 commit from fix-log-purge-timer into main 2024-03-28 16:05:45 -04:00
Showing only changes of commit 6a026b7791 - Show all commits

View file

@ -122,7 +122,7 @@ impl BotInstance {
tokio::spawn(async {
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
Log::remove_old_logs();
Log::info(&format!("Internal Purge Routine Triggered - running every {} mins",routine_mins));