aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts8
1 files changed, 4 insertions, 4 deletions
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 = {
134} 134}
135 135
136const JOB_ATTEMPTS: { [id in JobType]: number } = { 136const JOB_ATTEMPTS: { [id in JobType]: number } = {
137 'activitypub-http-broadcast': 5, 137 'activitypub-http-broadcast': 1,
138 'activitypub-http-unicast': 5, 138 'activitypub-http-unicast': 1,
139 'activitypub-http-fetcher': 5, 139 'activitypub-http-fetcher': 2,
140 'activitypub-follow': 5, 140 'activitypub-follow': 5,
141 'activitypub-cleaner': 1, 141 'activitypub-cleaner': 1,
142 'video-file-import': 1, 142 'video-file-import': 1,
@@ -153,7 +153,7 @@ const JOB_ATTEMPTS: { [id in JobType]: number } = {
153// Excluded keys are jobs that can be configured by admins 153// Excluded keys are jobs that can be configured by admins
154const JOB_CONCURRENCY: { [id in Exclude<JobType, 'video-transcoding' | 'video-import'>]: number } = { 154const JOB_CONCURRENCY: { [id in Exclude<JobType, 'video-transcoding' | 'video-import'>]: number } = {
155 'activitypub-http-broadcast': 1, 155 'activitypub-http-broadcast': 1,
156 'activitypub-http-unicast': 5, 156 'activitypub-http-unicast': 10,
157 'activitypub-http-fetcher': 3, 157 'activitypub-http-fetcher': 3,
158 'activitypub-cleaner': 1, 158 'activitypub-cleaner': 1,
159 'activitypub-follow': 1, 159 'activitypub-follow': 1,