From 77d7e851dccf17dcc89e8fcc2db3f655d1e63f95 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 21 Jan 2021 16:57:21 +0100 Subject: Add priority to transcoding jobs (1 = highest priority) 100 for new resolutions 10 for original file optimization Add a malus for transcoding jobs depending on how many uploads the user did in the last 7 days --- shared/models/server/job.model.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'shared/models/server') diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts index d16ac1032..ddd678b91 100644 --- a/shared/models/server/job.model.ts +++ b/shared/models/server/job.model.ts @@ -23,6 +23,7 @@ export interface Job { state: JobState type: JobType data: any + priority: number progress: number error: any createdAt: Date | string -- cgit v1.2.3