mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05: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