mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
feat(web): job concurrency order (#5386)
This commit is contained in:
parent
527d602a9f
commit
d4b3fb942f
1 changed files with 12 additions and 2 deletions
|
@ -16,8 +16,18 @@
|
||||||
let savedConfig: SystemConfigJobDto;
|
let savedConfig: SystemConfigJobDto;
|
||||||
let defaultConfig: SystemConfigJobDto;
|
let defaultConfig: SystemConfigJobDto;
|
||||||
|
|
||||||
const ignoredJobs = [JobName.BackgroundTask, JobName.Search] as JobName[];
|
const jobNames = [
|
||||||
const jobNames = Object.values(JobName).filter((jobName) => !ignoredJobs.includes(jobName as JobName));
|
JobName.ThumbnailGeneration,
|
||||||
|
JobName.MetadataExtraction,
|
||||||
|
JobName.Library,
|
||||||
|
JobName.Sidecar,
|
||||||
|
JobName.ObjectTagging,
|
||||||
|
JobName.ClipEncoding,
|
||||||
|
JobName.RecognizeFaces,
|
||||||
|
JobName.VideoConversion,
|
||||||
|
JobName.StorageTemplateMigration,
|
||||||
|
JobName.Migration,
|
||||||
|
];
|
||||||
|
|
||||||
async function getConfigs() {
|
async function getConfigs() {
|
||||||
[savedConfig, defaultConfig] = await Promise.all([
|
[savedConfig, defaultConfig] = await Promise.all([
|
||||||
|
|
Loading…
Reference in a new issue