mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Wait 1 minute before check webhooks
This commit is contained in:
@@ -190,7 +190,7 @@ impl BotsManager {
|
|||||||
BotsManager::check().await;
|
BotsManager::check().await;
|
||||||
}
|
}
|
||||||
|
|
||||||
if tick_number % 180 == 0 {
|
if tick_number % 180 == 60 {
|
||||||
BotsManager::check_pending_updates().await;
|
BotsManager::check_pending_updates().await;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user