mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Increase tick interval for pending updates to 1800
Some checks failed
Build docker image / Build-Docker-Image (push) Has been cancelled
Some checks failed
Build docker image / Build-Docker-Image (push) Has been cancelled
This commit is contained in:
@@ -224,11 +224,11 @@ impl BotsManager {
|
||||
BotsManager::check(false).await;
|
||||
}
|
||||
|
||||
if tick_number % 180 == 60 {
|
||||
if tick_number % 1800 == 600 {
|
||||
BotsManager::check_pending_updates().await;
|
||||
}
|
||||
|
||||
tick_number = (tick_number + 1) % 180;
|
||||
tick_number = (tick_number + 1) % 1800;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user