From 39f8ca3bf19fc93d78313642917b1c5a10daa4ed Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Wed, 21 Sep 2022 14:17:59 +0200 Subject: [PATCH] Only run scheduled geocoding task once per day (#730) --- .../immich/src/modules/schedule-tasks/schedule-tasks.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/apps/immich/src/modules/schedule-tasks/schedule-tasks.service.ts b/server/apps/immich/src/modules/schedule-tasks/schedule-tasks.service.ts index 30f1f02d88..629a0bfbfc 100644 --- a/server/apps/immich/src/modules/schedule-tasks/schedule-tasks.service.ts +++ b/server/apps/immich/src/modules/schedule-tasks/schedule-tasks.service.ts @@ -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');