1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-17 01:06:46 +01: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');