mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2026-03-03 07:00:53 +01:00
Update sync time
This commit is contained in:
@@ -30,7 +30,7 @@ export default class BotsManager {
|
|||||||
await this.sync();
|
await this.sync();
|
||||||
|
|
||||||
if (this.syncInterval === null) {
|
if (this.syncInterval === null) {
|
||||||
this.syncInterval = setInterval(() => this.sync(), 30_000);
|
this.syncInterval = setInterval(() => this.sync(), 300_000);
|
||||||
}
|
}
|
||||||
|
|
||||||
process.once('SIGINT', () => this.stop());
|
process.once('SIGINT', () => this.stop());
|
||||||
|
|||||||
Reference in New Issue
Block a user