Bufferize videos views in redis
[oweals/peertube.git] / shared / models / server / job.model.ts
1 export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed'
2
3 export type JobType = 'activitypub-http-unicast' |
4   'activitypub-http-broadcast' |
5   'activitypub-http-fetcher' |
6   'activitypub-follow' |
7   'video-file-import' |
8   'video-file' |
9   'email' |
10   'video-import' |
11   'videos-views'
12
13 export interface Job {
14   id: number
15   state: JobState
16   type: JobType
17   data: any,
18   error: any,
19   createdAt: Date
20   finishedOn: Date
21   processedOn: Date
22 }