diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2022-05-10 21:37:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 21:37:25 +0300 |
commit | 9d0f65b348a6dce9871c7d4a3f5cdf2c5d79ec55 (patch) | |
tree | e5d8f4062c9d942fb7c7f5783c1043e01896ec68 /libnetdata | |
parent | 33e20ac4909596dae0ae718ba527e19d4a30ed70 (diff) |
fix for negative per job busy time (#12867)
Diffstat (limited to 'libnetdata')
-rw-r--r-- | libnetdata/worker_utilization/worker_utilization.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libnetdata/worker_utilization/worker_utilization.c b/libnetdata/worker_utilization/worker_utilization.c index 6a86acc914..160a4f6550 100644 --- a/libnetdata/worker_utilization/worker_utilization.c +++ b/libnetdata/worker_utilization/worker_utilization.c @@ -196,7 +196,6 @@ void workers_foreach(const char *workname, void (*callback)(void *data, pid_t pi usec_t dt = now - worker_last_action_timestamp; busy_time += dt; per_job_type_busy_time[worker_job_id] += dt; - p->per_job_type[worker_job_id].statistics_last_busy_time += dt; jobs_running = 1; } |