]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/server/job.model.ts
Bufferize videos views in redis
[github/Chocobozzz/PeerTube.git] / shared / models / server / job.model.ts
CommitLineData
94831479 1export type JobState = 'active' | 'completed' | 'failed' | 'waiting' | 'delayed'
94a5ff8a
C
2
3export type JobType = 'activitypub-http-unicast' |
4 'activitypub-http-broadcast' |
5 'activitypub-http-fetcher' |
5350fd8e 6 'activitypub-follow' |
0138af92 7 'video-file-import' |
ecb4e35f 8 'video-file' |
fbad87b0 9 'email' |
6b616860
C
10 'video-import' |
11 'videos-views'
5cd80545
C
12
13export interface Job {
14 id: number
15 state: JobState
94a5ff8a
C
16 type: JobType
17 data: any,
18 error: any,
5cd80545 19 createdAt: Date
94831479
C
20 finishedOn: Date
21 processedOn: Date
5cd80545 22}