diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-18 15:32:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-18 15:32:40 +0200 |
commit | 5350fd8e5b2b2d017b16d97828893a8a4a40bd89 (patch) | |
tree | eddc20eeb19e1501ead0ad72b2fdaffc92708478 /server/initializers/constants.ts | |
parent | bf6e8e3e3dd6516a6125c9c2c12587e7bac8c107 (diff) | |
download | PeerTube-5350fd8e5b2b2d017b16d97828893a8a4a40bd89.tar.gz PeerTube-5350fd8e5b2b2d017b16d97828893a8a4a40bd89.tar.zst PeerTube-5350fd8e5b2b2d017b16d97828893a8a4a40bd89.zip |
Move server follow in the job queue
It helps to track follow errors
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 9fde989c5..ffcbe69b8 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -65,6 +65,7 @@ const JOB_ATTEMPTS: { [ id in JobType ]: number } = { | |||
65 | 'activitypub-http-broadcast': 5, | 65 | 'activitypub-http-broadcast': 5, |
66 | 'activitypub-http-unicast': 5, | 66 | 'activitypub-http-unicast': 5, |
67 | 'activitypub-http-fetcher': 5, | 67 | 'activitypub-http-fetcher': 5, |
68 | 'activitypub-follow': 5, | ||
68 | 'video-file': 1, | 69 | 'video-file': 1, |
69 | 'email': 5 | 70 | 'email': 5 |
70 | } | 71 | } |
@@ -72,6 +73,7 @@ const JOB_CONCURRENCY: { [ id in JobType ]: number } = { | |||
72 | 'activitypub-http-broadcast': 1, | 73 | 'activitypub-http-broadcast': 1, |
73 | 'activitypub-http-unicast': 5, | 74 | 'activitypub-http-unicast': 5, |
74 | 'activitypub-http-fetcher': 1, | 75 | 'activitypub-http-fetcher': 1, |
76 | 'activitypub-follow': 3, | ||
75 | 'video-file': 1, | 77 | 'video-file': 1, |
76 | 'email': 5 | 78 | 'email': 5 |
77 | } | 79 | } |