diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-21 16:57:21 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-01-25 14:38:52 +0100 |
commit | 77d7e851dccf17dcc89e8fcc2db3f655d1e63f95 (patch) | |
tree | d09e045dfabe7ab1e170d1b0caa9decda8a7d39c /client/src/app/+admin/system/jobs/jobs.component.html | |
parent | 92c871b40554d5285232eb4392cebb63d127704a (diff) | |
download | PeerTube-77d7e851dccf17dcc89e8fcc2db3f655d1e63f95.tar.gz PeerTube-77d7e851dccf17dcc89e8fcc2db3f655d1e63f95.tar.zst PeerTube-77d7e851dccf17dcc89e8fcc2db3f655d1e63f95.zip |
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
Diffstat (limited to 'client/src/app/+admin/system/jobs/jobs.component.html')
-rw-r--r-- | client/src/app/+admin/system/jobs/jobs.component.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/+admin/system/jobs/jobs.component.html b/client/src/app/+admin/system/jobs/jobs.component.html index b6457a005..6b3fd9393 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.html +++ b/client/src/app/+admin/system/jobs/jobs.component.html | |||
@@ -40,6 +40,7 @@ | |||
40 | <th style="width: 40px"></th> | 40 | <th style="width: 40px"></th> |
41 | <th style="width: calc(100% - 390px)" class="job-id" i18n>ID</th> | 41 | <th style="width: calc(100% - 390px)" class="job-id" i18n>ID</th> |
42 | <th style="width: 200px" class="job-type" i18n>Type</th> | 42 | <th style="width: 200px" class="job-type" i18n>Type</th> |
43 | <th style="width: 200px" class="job-priority" i18n>Priority <small>(1 = highest priority)</small></th> | ||
43 | <th style="width: 200px" class="job-state" i18n *ngIf="jobState === 'all'">State</th> | 44 | <th style="width: 200px" class="job-state" i18n *ngIf="jobState === 'all'">State</th> |
44 | <th style="width: 100px" class="job-progress" i18n *ngIf="hasProgress()">Progress</th> | 45 | <th style="width: 100px" class="job-progress" i18n *ngIf="hasProgress()">Progress</th> |
45 | <th style="width: 150px" class="job-date" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> | 46 | <th style="width: 150px" class="job-date" i18n pSortableColumn="createdAt">Created <p-sortIcon field="createdAt"></p-sortIcon></th> |
@@ -56,12 +57,13 @@ | |||
56 | 57 | ||
57 | <td class="job-id c-hand" [pRowToggler]="job" [title]="job.id">{{ job.id }}</td> | 58 | <td class="job-id c-hand" [pRowToggler]="job" [title]="job.id">{{ job.id }}</td> |
58 | <td class="job-type c-hand" [pRowToggler]="job">{{ job.type }}</td> | 59 | <td class="job-type c-hand" [pRowToggler]="job">{{ job.type }}</td> |
60 | <td class="job-priority c-hand" [pRowToggler]="job">{{ job.priority }}</td> | ||
59 | 61 | ||
60 | <td class="job-state c-hand" [pRowToggler]="job" *ngIf="jobState === 'all'"> | 62 | <td class="job-state c-hand" [pRowToggler]="job" *ngIf="jobState === 'all'"> |
61 | <span class="badge" [ngClass]="getJobStateClass(job.state)">{{ job.state }}</span> | 63 | <span class="badge" [ngClass]="getJobStateClass(job.state)">{{ job.state }}</span> |
62 | </td> | 64 | </td> |
63 | 65 | ||
64 | <td class="job-state" [pRowToggler]="job" *ngIf="hasProgress()"> | 66 | <td class="job-progress c-hand" [pRowToggler]="job" *ngIf="hasProgress()"> |
65 | {{ getProgress(job) }} | 67 | {{ getProgress(job) }} |
66 | </td> | 68 | </td> |
67 | 69 | ||