diff options
Diffstat (limited to 'server/lib/jobs/handlers/index.ts')
-rw-r--r-- | server/lib/jobs/handlers/index.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/lib/jobs/handlers/index.ts b/server/lib/jobs/handlers/index.ts index 8abddae35..5941427a1 100644 --- a/server/lib/jobs/handlers/index.ts +++ b/server/lib/jobs/handlers/index.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import * as videoTranscoder from './video-transcoder' | 1 | import * as videoFileOptimizer from './video-file-optimizer' |
2 | import * as videoFileTranscoder from './video-file-transcoder' | ||
2 | 3 | ||
3 | export interface JobHandler<T> { | 4 | export interface JobHandler<T> { |
4 | process (data: object): T | 5 | process (data: object): T |
@@ -7,7 +8,8 @@ export interface JobHandler<T> { | |||
7 | } | 8 | } |
8 | 9 | ||
9 | const jobHandlers: { [ handlerName: string ]: JobHandler<any> } = { | 10 | const jobHandlers: { [ handlerName: string ]: JobHandler<any> } = { |
10 | videoTranscoder | 11 | videoFileOptimizer, |
12 | videoFileTranscoder | ||
11 | } | 13 | } |
12 | 14 | ||
13 | export { | 15 | export { |