diff --git a/server/src/main.ts b/server/src/main.ts index ea77fce68daa8..84ba1f056d43b 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -32,22 +32,21 @@ function bootstrap() { return bootstrapImmichAdmin(); } case 'immich': { - process.title = 'immich_server'; if (!process.env.IMMICH_WORKERS_INCLUDE) { process.env.IMMICH_WORKERS_INCLUDE = 'api'; } + break; } case 'microservices': { - process.title = 'immich_microservices'; if (!process.env.IMMICH_WORKERS_INCLUDE) { process.env.IMMICH_WORKERS_INCLUDE = 'microservices'; } + break; } - default: { - for (const worker of getWorkers()) { - bootstrapWorker(worker); - } - } + } + process.title = 'immich'; + for (const worker of getWorkers()) { + bootstrapWorker(worker); } }