mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 20:25:32 -04:00
Only run scheduled geocoding task once per day (#730)
This commit is contained in:
parent
7a807f7216
commit
39f8ca3bf1
@ -80,7 +80,7 @@ export class ScheduleTasksService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Cron(CronExpression.EVERY_5_SECONDS)
|
@Cron(CronExpression.EVERY_DAY_AT_2AM)
|
||||||
async reverseGeocoding() {
|
async reverseGeocoding() {
|
||||||
const isMapboxEnable = this.configService.get('ENABLE_MAPBOX');
|
const isMapboxEnable = this.configService.get('ENABLE_MAPBOX');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user