From a6f081632583af44a1174b38708c833b97957d08 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Sat, 6 Aug 2022 15:01:24 +0300 Subject: [PATCH] Update sync time --- src/bots/manager/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bots/manager/index.ts b/src/bots/manager/index.ts index 2cad110..68093ee 100644 --- a/src/bots/manager/index.ts +++ b/src/bots/manager/index.ts @@ -30,7 +30,7 @@ export default class BotsManager { await this.sync(); if (this.syncInterval === null) { - this.syncInterval = setInterval(() => this.sync(), 30_000); + this.syncInterval = setInterval(() => this.sync(), 300_000); } process.once('SIGINT', () => this.stop());