From 5acb6c449d006f03f99897635cea3209bea80629 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 3 Sep 2023 14:06:30 -0700 Subject: [PATCH] chore: :art: format --- packages/backend/src/boot/index.ts | 2 +- packages/backend/src/boot/master.ts | 4 +++- packages/client/src/ui/visitor/b.vue | 6 +++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/boot/index.ts b/packages/backend/src/boot/index.ts index c09f3d2b3..489350a15 100644 --- a/packages/backend/src/boot/index.ts +++ b/packages/backend/src/boot/index.ts @@ -23,7 +23,7 @@ export default async function () { process.env.mode && ["web", "queue"].includes(process.env.mode) ? `(${process.env.mode})` : ""; - const type = cluster.isPrimary ? "(master)" : "(worker)" + const type = cluster.isPrimary ? "(master)" : "(worker)"; process.title = `Firefish ${mode} ${type}`; if (cluster.isPrimary || envOption.disableClustering) { diff --git a/packages/backend/src/boot/master.ts b/packages/backend/src/boot/master.ts index bdb528d2f..4470cea9c 100644 --- a/packages/backend/src/boot/master.ts +++ b/packages/backend/src/boot/master.ts @@ -214,7 +214,9 @@ async function spawnWorkers( workers.fill("web", 0, clusterLimits?.web); workers.fill("queue", clusterLimits?.web); - bootLogger.info(`Starting ${clusterLimits?.web} web workers and ${clusterLimits?.queue} queue workers (total ${total})...`); + bootLogger.info( + `Starting ${clusterLimits?.web} web workers and ${clusterLimits?.queue} queue workers (total ${total})...`, + ); await Promise.all(workers.map((mode) => spawnWorker(mode))); bootLogger.succ("All workers started"); } diff --git a/packages/client/src/ui/visitor/b.vue b/packages/client/src/ui/visitor/b.vue index 5f600a9ff..0f22f3a74 100644 --- a/packages/client/src/ui/visitor/b.vue +++ b/packages/client/src/ui/visitor/b.vue @@ -57,7 +57,11 @@ >{{ i18n.ts.gallery }} -