mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	Only run scheduled geocoding task once per day (#730)
This commit is contained in:
		@@ -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');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user