Skip to content

Checking if decreasing running jobs (active cores) sets it to negative value, zero if so

Jorn-Are Klubben Flaten requested to merge check_for_negative_running_value into master

I have seen negative values in the running column and i´m not certain why that is, but i suspect that some value passed into this method causes it. Therefore i wanted to set running to 0 instead of negative value

Please consider if this is how we should solve it or perhaps the input value to the function is wrong in one of the instances where it is called.

![image](/uploads/6f701683e83dec6a4fa449262d24dnegative_running_column

Merge request reports