Skip to content
Snippets Groups Projects
Commit fea4b633 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Fix resetting the probation counter.

parent f33643cb
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ namespace ATxCommon.Monitoring
Log.Trace("CPU load behaving well since {0} cycles.", _behaving);
} else if (_behaving < 0) {
Log.Warn("Integer wrap around happened, resetting probation counter!");
_behaving = 0;
_behaving = _probation + 1;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment