Skip to content

Commit

Permalink
chore: bump poll interval more
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmbl committed Sep 26, 2023
1 parent de178c4 commit 36cf2f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/new-proposals-monitoring.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class NewProposalsMonitoringService implements OnModuleInit {
.defineDataSource<RealmData>()
.poll(
async (subscribers) => this.realmsService.getRealmsData(subscribers),
Duration.fromObject({ seconds: 60 }),
Duration.fromObject({ minutes: 7 }),
)
.transform<ProposalWithMetadata[], ProposalWithMetadata[]>({
keys: ['proposals'],
Expand Down
2 changes: 1 addition & 1 deletion src/proposal-state-monitoring.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class ProposalStateChangeMonitoringService implements OnModuleInit {
.defineDataSource<ProposalData>()
.poll(
async (subscribers) => this.realmsService.getProposalData(subscribers),
Duration.fromObject({ seconds: 60 }),
Duration.fromObject({ minutes: 7 }),
)
.transform<ProgramAccount<Proposal>, Change<ProgramAccount<Proposal>>>({
keys: ['proposal'],
Expand Down

0 comments on commit 36cf2f4

Please sign in to comment.