Skip to content

Commit

Permalink
Merge pull request #244 from bnb-chain/hotfix/cache0105
Browse files Browse the repository at this point in the history
feat: Update task execute interval
  • Loading branch information
wenty22 authored Jan 5, 2025
2 parents 18cae4a + ab7fb3a commit 8189296
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class BridgeSchedule implements OnModuleInit {

constructor(@InjectQueue(Queues.SyncBridge) private syncBridge: Queue) {}

@Cron(CronExpression.EVERY_5_MINUTES)
@Cron(CronExpression.EVERY_3_HOURS)
async syncBridgeInfo() {
this.logger.log('syncBridgeInfo');
await this.syncBridge.add(Tasks.fetchCbridge, null, {
Expand Down

0 comments on commit 8189296

Please sign in to comment.