no need to use kore_log() in a debug context

This commit is contained in:
Joris Vink 2013-06-26 15:59:42 +02:00
parent 113dbaba53
commit 124f3ecad9
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ runas joris
# Set workers to the amount of CPU's available in your system,
# kore will automatically distribute all workers on them.
workers 2
workers 4
# The number of active connections each worker can handle.
# You might have to tweak this number based on your hardware.

View File

@ -340,7 +340,7 @@ kore_worker_acceptlock_obtain(void)
} else {
worker_has_acceptlock = 1;
kore_platform_enable_accept();
kore_log(LOG_NOTICE, "obtained accept lock (%d/%d)",
kore_debug("obtained accept lock (%d/%d)",
worker_active_connections, worker_max_connections);
}
}
@ -363,7 +363,7 @@ kore_worker_acceptlock_release(void)
} else {
worker_has_acceptlock = 0;
kore_platform_disable_accept();
kore_log(LOG_NOTICE, "released %d/%d",
kore_debug("released %d/%d",
worker_active_connections, worker_max_connections);
}
}