Skip to content

Commit

Permalink
chore(api): Alter cache rehydration interval
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b committed Jul 12, 2024
1 parent fcc1c3f commit f5f9eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/socket/change-notifier.socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export default class ChangeNotifier
}
}

@Cron(CronExpression.EVERY_30_SECONDS)
@Cron(CronExpression.EVERY_10_MINUTES)
async rehydrateCache() {
this.logger.log('Rehydrating ChangeNotifier cache')
const socketMaps = await this.prisma.changeNotificationSocketMap.findMany()
Expand Down

0 comments on commit f5f9eec

Please sign in to comment.