mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Add delay before start bots
This commit is contained in:
@@ -62,7 +62,6 @@ export default class BotsManager {
|
|||||||
|
|
||||||
this.launch();
|
this.launch();
|
||||||
|
|
||||||
await this.sync();
|
|
||||||
if (this.syncInterval === null) {
|
if (this.syncInterval === null) {
|
||||||
this.syncInterval = setInterval(() => this.sync(), 30_000);
|
this.syncInterval = setInterval(() => this.sync(), 30_000);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user