Fixed comparation in new worker thread alarm level.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5565 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2013-07-05 13:47:11 +00:00
parent 2d7d0489d5
commit 6053283c1d
1 changed files with 1 additions and 1 deletions

View File

@ -1473,7 +1473,7 @@ int Engine::run()
// Create worker thread if we didn't hear about any of them in a while
if (s_makeworker && (EnginePrivate::count < s_maxworkers)) {
if (EnginePrivate::count)
Alarm("engine","performance",(EnginePrivate::count > 4) ? DebugMild : DebugWarn,
Alarm("engine","performance",(EnginePrivate::count < 4) ? DebugMild : DebugWarn,
"Creating new message dispatching thread (%d running)",EnginePrivate::count);
else
Debug(DebugInfo,"Creating first message dispatching thread");