Skip to content

Commit

Permalink
feat: Update task execute interval
Browse files Browse the repository at this point in the history
  • Loading branch information
wenty22 committed Jan 5, 2025
1 parent 02c5f5c commit ab7fb3a
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 ab7fb3a

Please sign in to comment.