Merge pull request 'Fix Logs Flushing only every 60 days' (#50) from fix-log-purge-timer into main
Reviewed-on: #50
This commit is contained in:
commit
d7634663fe
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