mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	Increase job attempts limit a little
This commit is contained in:
		
							parent
							
								
									90fbf9dbb0
								
							
						
					
					
						commit
						4cebd6e84a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -35,7 +35,7 @@ export function deliver(user: ILocalUser, content: any, to: any) {
 | 
			
		|||
	};
 | 
			
		||||
 | 
			
		||||
	return deliverQueue.add(data, {
 | 
			
		||||
		attempts: 4,
 | 
			
		||||
		attempts: 8,
 | 
			
		||||
		backoff: {
 | 
			
		||||
			type: 'exponential',
 | 
			
		||||
			delay: 1000
 | 
			
		||||
| 
						 | 
				
			
			@ -52,7 +52,7 @@ export function inbox(activity: any, signature: httpSignature.IParsedSignature)
 | 
			
		|||
	};
 | 
			
		||||
 | 
			
		||||
	return inboxQueue.add(data, {
 | 
			
		||||
		attempts: 4,
 | 
			
		||||
		attempts: 8,
 | 
			
		||||
		backoff: {
 | 
			
		||||
			type: 'exponential',
 | 
			
		||||
			delay: 1000
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue