1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-10 23:22:22 +02:00

Only run scheduled geocoding task once per day (#730)

This commit is contained in:
bo0tzz
2022-09-21 14:17:59 +02:00
committed by GitHub
parent 7a807f7216
commit 39f8ca3bf1

View File

@@ -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');