Disable retries on all scheduled tasks (#8413)
This commit is contained in:
		
					parent
					
						
							
								800325f452
							
						
					
				
			
			
				commit
				
					
						93537c5560
					
				
			
		
					 9 changed files with 9 additions and 9 deletions
				
			
		|  | @ -3,7 +3,7 @@ | |||
| class Scheduler::BackupCleanupScheduler | ||||
|   include Sidekiq::Worker | ||||
| 
 | ||||
|   sidekiq_options unique: :until_executed | ||||
|   sidekiq_options unique: :until_executed, retry: 0 | ||||
| 
 | ||||
|   def perform | ||||
|     old_backups.reorder(nil).find_each(&:destroy!) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue