1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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