diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-17 15:52:26 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 79d5caf994edd87ad721994490f10677be277497 (patch) | |
tree | 0db45893d8b78e34ce3d59849d0a331977a63d4b /server/lib/jobs/job-scheduler.ts | |
parent | 572f8d3dba44ba874f5c51023214273e3f5b643c (diff) | |
download | PeerTube-79d5caf994edd87ad721994490f10677be277497.tar.gz PeerTube-79d5caf994edd87ad721994490f10677be277497.tar.zst PeerTube-79d5caf994edd87ad721994490f10677be277497.zip |
Fix lint
Diffstat (limited to 'server/lib/jobs/job-scheduler.ts')
-rw-r--r-- | server/lib/jobs/job-scheduler.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/lib/jobs/job-scheduler.ts b/server/lib/jobs/job-scheduler.ts index 73c440279..62ce6927e 100644 --- a/server/lib/jobs/job-scheduler.ts +++ b/server/lib/jobs/job-scheduler.ts | |||
@@ -4,7 +4,6 @@ import { JobCategory } from '../../../shared' | |||
4 | import { logger } from '../../helpers' | 4 | import { logger } from '../../helpers' |
5 | import { database as db, JOB_STATES, JOBS_FETCH_LIMIT_PER_CYCLE, JOBS_FETCHING_INTERVAL } from '../../initializers' | 5 | import { database as db, JOB_STATES, JOBS_FETCH_LIMIT_PER_CYCLE, JOBS_FETCHING_INTERVAL } from '../../initializers' |
6 | import { JobInstance } from '../../models' | 6 | import { JobInstance } from '../../models' |
7 | import { error } from 'util' | ||
8 | 7 | ||
9 | export interface JobHandler<P, T> { | 8 | export interface JobHandler<P, T> { |
10 | process (data: object, jobId: number): Promise<T> | 9 | process (data: object, jobId: number): Promise<T> |