From 4cebd6e84afdae42e22c2273c63b5d7fe8cf4b68 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Fri, 8 Mar 2019 21:43:17 +0900
Subject: [PATCH] Increase job attempts limit a little

---
 src/queue/index.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/queue/index.ts b/src/queue/index.ts
index 2fefeb83ab..b4067cd7ce 100644
--- a/src/queue/index.ts
+++ b/src/queue/index.ts
@@ -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