Skip to content

Commit

Permalink
Only run scheduled geocoding task once per day (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
bo0tzz authored Sep 21, 2022
1 parent 7a807f7 commit 39f8ca3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class ScheduleTasksService {
}
}

@Cron(CronExpression.EVERY_5_SECONDS)
@Cron(CronExpression.EVERY_DAY_AT_2AM)
async reverseGeocoding() {
const isMapboxEnable = this.configService.get('ENABLE_MAPBOX');

Expand Down

0 comments on commit 39f8ca3

Please sign in to comment.