Add 25th hour for runtime bracket 24-25h

- zoomstate does not work
- maxbins too hardcoded for runtimes > 25 hours
This commit is contained in:
Christoph Kluge
2025-01-24 10:39:33 +01:00
parent a3e5c424fd
commit 9e6072fed2
3 changed files with 15 additions and 12 deletions

View File

@@ -362,7 +362,7 @@ func (r *queryResolver) JobsStatistics(ctx context.Context, filter []*model.JobF
var stats []*model.JobsStatistics
// Top Level Defaults
var defaultDurationBins int = 24
var defaultDurationBins int = 25
var defaultMetricBins int = 10
if requireField(ctx, "totalJobs") || requireField(ctx, "totalWalltime") || requireField(ctx, "totalNodes") || requireField(ctx, "totalCores") ||