mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Load factor adjustment and reporting tweaks.
This commit is contained in:
@@ -57,9 +57,9 @@ void LoadMonitor::addLatency(int latency)
|
||||
|
||||
void LoadMonitor::addCountAndLatency(const std::string& name, int counts, int latency)
|
||||
{
|
||||
if (latency > 1000)
|
||||
if (latency > 500)
|
||||
{
|
||||
cLog(lsWARNING) << "Job: " << name << " ExecutionTime: " << latency;
|
||||
cLog((latency > 1000) ? lsWARNING : lsINFO) << "Job: " << name << " ExecutionTime: " << latency;
|
||||
}
|
||||
if (latency == 1)
|
||||
latency = 0;
|
||||
|
||||
Reference in New Issue
Block a user