Update index.ts
This commit is contained in:
		
							parent
							
								
									70a1721460
								
							
						
					
					
						commit
						dfb6e717e4
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -14,6 +14,7 @@ const queue = createQueue({
 | 
			
		|||
export function createHttp(data) {
 | 
			
		||||
	return queue
 | 
			
		||||
		.create('http', data)
 | 
			
		||||
		.events(false)
 | 
			
		||||
		.attempts(8)
 | 
			
		||||
		.backoff({ delay: 16384, type: 'exponential' });
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue