aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorFlorent Fayolle <florent.fayolle69@gmail.com>2018-06-02 21:39:41 +0200
committerChocobozzz <me@florianbigard.com>2018-06-07 08:57:48 +0200
commit0138af9237b77dd7d3a49260d164193b4048de84 (patch)
tree5a377c7577cd99d5b324967187e10cd9fcc81383 /server/initializers/constants.ts
parent157b62b1f4450c32bb7383ccacbea555ec607013 (diff)
downloadPeerTube-0138af9237b77dd7d3a49260d164193b4048de84.tar.gz
PeerTube-0138af9237b77dd7d3a49260d164193b4048de84.tar.zst
PeerTube-0138af9237b77dd7d3a49260d164193b4048de84.zip
Add create-import-video-file-job command
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 9b459c241..482db2d5c 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -74,6 +74,7 @@ const JOB_ATTEMPTS: { [ id in JobType ]: number } = {
74 'activitypub-http-unicast': 5, 74 'activitypub-http-unicast': 5,
75 'activitypub-http-fetcher': 5, 75 'activitypub-http-fetcher': 5,
76 'activitypub-follow': 5, 76 'activitypub-follow': 5,
77 'video-file-import': 1,
77 'video-file': 1, 78 'video-file': 1,
78 'email': 5 79 'email': 5
79} 80}
@@ -82,6 +83,7 @@ const JOB_CONCURRENCY: { [ id in JobType ]: number } = {
82 'activitypub-http-unicast': 5, 83 'activitypub-http-unicast': 5,
83 'activitypub-http-fetcher': 1, 84 'activitypub-http-fetcher': 1,
84 'activitypub-follow': 3, 85 'activitypub-follow': 3,
86 'video-file-import': 1,
85 'video-file': 1, 87 'video-file': 1,
86 'email': 5 88 'email': 5
87} 89}