From 9db437c8155f3563a33e22ed2896072a9f1fbdb0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Oct 2021 11:47:32 +0200 Subject: Process slow followers in unicast job queue --- server/initializers/constants.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/initializers') diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index facd3b721..9896e1efb 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -134,9 +134,9 @@ const REMOTE_SCHEME = { } const JOB_ATTEMPTS: { [id in JobType]: number } = { - 'activitypub-http-broadcast': 5, - 'activitypub-http-unicast': 5, - 'activitypub-http-fetcher': 5, + 'activitypub-http-broadcast': 1, + 'activitypub-http-unicast': 1, + 'activitypub-http-fetcher': 2, 'activitypub-follow': 5, 'activitypub-cleaner': 1, 'video-file-import': 1, @@ -153,7 +153,7 @@ const JOB_ATTEMPTS: { [id in JobType]: number } = { // Excluded keys are jobs that can be configured by admins const JOB_CONCURRENCY: { [id in Exclude]: number } = { 'activitypub-http-broadcast': 1, - 'activitypub-http-unicast': 5, + 'activitypub-http-unicast': 10, 'activitypub-http-fetcher': 3, 'activitypub-cleaner': 1, 'activitypub-follow': 1, -- cgit v1.2.3