diff options
Diffstat (limited to 'scripts/create-import-video-file-job.ts')
-rw-r--r-- | scripts/create-import-video-file-job.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-import-video-file-job.ts b/scripts/create-import-video-file-job.ts index 726f51ccf..071d36df4 100644 --- a/scripts/create-import-video-file-job.ts +++ b/scripts/create-import-video-file-job.ts | |||
@@ -47,7 +47,7 @@ async function run () { | |||
47 | filePath: resolve(options.import) | 47 | filePath: resolve(options.import) |
48 | } | 48 | } |
49 | 49 | ||
50 | JobQueue.Instance.init() | 50 | JobQueue.Instance.init(true) |
51 | await JobQueue.Instance.createJobWithPromise({ type: 'video-file-import', payload: dataInput }) | 51 | await JobQueue.Instance.createJobWithPromise({ type: 'video-file-import', payload: dataInput }) |
52 | console.log('Import job for video %s created.', video.uuid) | 52 | console.log('Import job for video %s created.', video.uuid) |
53 | } | 53 | } |