Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript

fix(benchmark): remove stale progress setter (#1136)

NgoQuocViet2001223ead7c4efd
diff --git a/admin/inertia/pages/settings/benchmark.tsx b/admin/inertia/pages/settings/benchmark.tsx
index ab07e975..6ceb13c3 100644
--- a/admin/inertia/pages/settings/benchmark.tsx
+++ b/admin/inertia/pages/settings/benchmark.tsx
@@ -93,14 +93,6 @@ export default function BenchmarkPage(props: {
setErrorMsg(null)
run.reset()
setIsRunning(true)
- setProgress({
- status: 'starting',
- progress: 5,
- message: 'Starting benchmark... This takes 3-6 minutes.',
- current_stage: 'Starting',
- benchmark_id: '',
- timestamp: new Date().toISOString(),
- })
// Use sync mode - runs inline without needing Redis/queue worker
return await api.runBenchmark(type, true)