adasd
All checks were successful
Deploy / deploy-staging (push) Successful in 5s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-20 00:41:20 +02:00
parent 813dd86811
commit 7323673158
2 changed files with 8 additions and 5 deletions

View File

@@ -1172,10 +1172,7 @@
}, 12000); }, 12000);
try { try {
const schema = await request(`${apiBase}/projects/${encodeURIComponent(key)}/schema-status`, { timeoutMs: 4000 }); if (schemaStatus.missing_count > 0 || schemaStatus.pending_upgrade_count > 0) {
const nextSchemaStatus = normalizeSchemaStatus(schema);
setSchemaStatus(nextSchemaStatus);
if (!nextSchemaStatus.all_present) {
setPayload(normalizeBootstrap(null, key)); setPayload(normalizeBootstrap(null, key));
setError('Mining-Checker Schema ist noch nicht initialisiert. Bitte im Tab Settings die Datenbank initialisieren.'); setError('Mining-Checker Schema ist noch nicht initialisiert. Bitte im Tab Settings die Datenbank initialisieren.');
return; return;

View File

@@ -1270,7 +1270,13 @@ final class Router
return []; return [];
} }
return $this->measurementFxSnapshots($measurements, self::BOOTSTRAP_SNAPSHOT_LIMIT); $limit = match ($view) {
'overview' => 1,
'measurements' => 10,
default => self::BOOTSTRAP_SNAPSHOT_LIMIT,
};
return $this->measurementFxSnapshots($measurements, $limit);
} }
private function bootstrapSummary(array $measurements, array $settings, array $targets, string $view): array private function bootstrapSummary(array $measurements, array $settings, array $targets, string $view): array