Skip to content

Commit 36cf2f4

Browse files
committed
chore: bump poll interval more
1 parent de178c4 commit 36cf2f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/new-proposals-monitoring.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class NewProposalsMonitoringService implements OnModuleInit {
3434
.defineDataSource<RealmData>()
3535
.poll(
3636
async (subscribers) => this.realmsService.getRealmsData(subscribers),
37-
Duration.fromObject({ seconds: 60 }),
37+
Duration.fromObject({ minutes: 7 }),
3838
)
3939
.transform<ProposalWithMetadata[], ProposalWithMetadata[]>({
4040
keys: ['proposals'],

src/proposal-state-monitoring.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class ProposalStateChangeMonitoringService implements OnModuleInit {
4444
.defineDataSource<ProposalData>()
4545
.poll(
4646
async (subscribers) => this.realmsService.getProposalData(subscribers),
47-
Duration.fromObject({ seconds: 60 }),
47+
Duration.fromObject({ minutes: 7 }),
4848
)
4949
.transform<ProgramAccount<Proposal>, Change<ProgramAccount<Proposal>>>({
5050
keys: ['proposal'],

0 commit comments

Comments
 (0)