fix jobs metrics

This commit is contained in:
Ruben Fiszel
2024-03-14 19:53:38 +01:00
parent 47d96c0d97
commit e5f7bcf1a6
+1 -1
View File
@@ -557,7 +557,7 @@ pub async fn update_job_poller<F, Fut>(
tracing::info!("{worker_name}/{job_id} in {w_id} still running. mem: {current_mem}kB, peak mem: {mem_peak}kB");
let update_job_row = (!*SLOW_LOGS && (i < 20 || (i < 120 && i % 5 == 0) || i % 10 == 0)) || i % 20 == 0;
let update_job_row = i == 2 || (!*SLOW_LOGS && (i < 20 || (i < 120 && i % 5 == 0) || i % 10 == 0)) || i % 20 == 0;
if update_job_row {
#[cfg(feature = "enterprise")]
{