From 3ac0946019465e41dc566d14478c4ca6b1bf4307 Mon Sep 17 00:00:00 2001 From: April John Date: Wed, 24 May 2023 21:03:37 +0200 Subject: [PATCH] update inbox import timeout --- packages/backend/src/queue/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/queue/index.ts b/packages/backend/src/queue/index.ts index 1b50f35287..a84a446fe7 100644 --- a/packages/backend/src/queue/index.ts +++ b/packages/backend/src/queue/index.ts @@ -348,6 +348,8 @@ export function createImportMastoPostJob( { removeOnComplete: true, removeOnFail: true, + attempts: config.inboxJobMaxAttempts || 8, + timeout: 60 * 1000, // 1min }, ); }