From 031094f7992366d8d1f6583b205f984ffadf637a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Oct 2017 15:37:40 +0200 Subject: More robust transcoding jobs --- server/lib/jobs/handlers/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib/jobs/handlers/index.ts') diff --git a/server/lib/jobs/handlers/index.ts b/server/lib/jobs/handlers/index.ts index 5941427a1..cef1f89a9 100644 --- a/server/lib/jobs/handlers/index.ts +++ b/server/lib/jobs/handlers/index.ts @@ -2,7 +2,7 @@ import * as videoFileOptimizer from './video-file-optimizer' import * as videoFileTranscoder from './video-file-transcoder' export interface JobHandler { - process (data: object): T + process (data: object, jobId: number): T onError (err: Error, jobId: number) onSuccess (jobId: number, jobResult: T) } -- cgit v1.2.3