From 36cf2f4d1012548fe7876e5221780fd9f513df62 Mon Sep 17 00:00:00 2001 From: Alexey Tsymbal Date: Tue, 26 Sep 2023 17:01:11 +0300 Subject: [PATCH] chore: bump poll interval more --- src/new-proposals-monitoring.service.ts | 2 +- src/proposal-state-monitoring.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/new-proposals-monitoring.service.ts b/src/new-proposals-monitoring.service.ts index 78583da..d7b9a9e 100644 --- a/src/new-proposals-monitoring.service.ts +++ b/src/new-proposals-monitoring.service.ts @@ -34,7 +34,7 @@ export class NewProposalsMonitoringService implements OnModuleInit { .defineDataSource() .poll( async (subscribers) => this.realmsService.getRealmsData(subscribers), - Duration.fromObject({ seconds: 60 }), + Duration.fromObject({ minutes: 7 }), ) .transform({ keys: ['proposals'], diff --git a/src/proposal-state-monitoring.service.ts b/src/proposal-state-monitoring.service.ts index ef5d7de..53e9053 100644 --- a/src/proposal-state-monitoring.service.ts +++ b/src/proposal-state-monitoring.service.ts @@ -44,7 +44,7 @@ export class ProposalStateChangeMonitoringService implements OnModuleInit { .defineDataSource() .poll( async (subscribers) => this.realmsService.getProposalData(subscribers), - Duration.fromObject({ seconds: 60 }), + Duration.fromObject({ minutes: 7 }), ) .transform, Change>>({ keys: ['proposal'],