mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	Update job queue setting
This commit is contained in:
		
							parent
							
								
									dddd760efd
								
							
						
					
					
						commit
						ac07f04ad8
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -20,8 +20,8 @@ const queue = new Queue('misskey', {
 | 
			
		|||
 | 
			
		||||
export function createHttpJob(data: any) {
 | 
			
		||||
	return queue.createJob(data)
 | 
			
		||||
		.retries(4)
 | 
			
		||||
		.backoff('exponential', 16384) // 16s
 | 
			
		||||
		//.retries(4)
 | 
			
		||||
		//.backoff('exponential', 16384) // 16s
 | 
			
		||||
		.save();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue