From f42a305fcbd68bf5983bdd75a784ea87e818fd2f Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 9 Mar 2025 12:45:45 +0000 Subject: fix: Fix missing workers in the server stats --- apps/web/components/admin/ServerStats.tsx | 28 +++++++++++++++++++++++++++ apps/web/lib/i18n/locales/en/translation.json | 4 ++++ 2 files changed, 32 insertions(+) (limited to 'apps') diff --git a/apps/web/components/admin/ServerStats.tsx b/apps/web/components/admin/ServerStats.tsx index 1f0c7e9d..ded2c19f 100644 --- a/apps/web/components/admin/ServerStats.tsx +++ b/apps/web/components/admin/ServerStats.tsx @@ -140,6 +140,34 @@ export default function ServerStats() { - - + + {t("admin.background_jobs.video_jobs")} + {serverStats.videoStats.queued} + - + - + + + {t("admin.background_jobs.webhook_jobs")} + {serverStats.webhookStats.queued} + - + - + + + + {t("admin.background_jobs.asset_preprocessing_jobs")} + + + {serverStats.assetPreprocessingStats.queued} + + - + - + + + {t("admin.background_jobs.feed_jobs")} + {serverStats.feedStats.queued} + - + - + diff --git a/apps/web/lib/i18n/locales/en/translation.json b/apps/web/lib/i18n/locales/en/translation.json index a12b703f..5ba4882c 100644 --- a/apps/web/lib/i18n/locales/en/translation.json +++ b/apps/web/lib/i18n/locales/en/translation.json @@ -177,6 +177,10 @@ "indexing_jobs": "Indexing Jobs", "inference_jobs": "Inference Jobs", "tidy_assets_jobs": "Tidy Assets Jobs", + "video_jobs": "Video Jobs", + "webhook_jobs": "Webhook Jobs", + "asset_preprocessing_jobs": "Asset Preprocessing Jobs", + "feed_jobs": "Feed Jobs", "job": "Job", "queued": "Queued", "pending": "Pending", -- cgit v1.2.3-70-g09d2