Fix a bug where the warning message is logged in wrong occasion.

This commit is contained in:
Trustin Lee 2013-10-17 21:22:09 +09:00
parent b2d624a3ba
commit 9278b29ea4
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ public abstract class AbstractNioBossPool<E extends Boss>
}
}
if (!warn) {
if (warn) {
logger.warn(
"Failed to get all boss threads ready within " + INITIALIZATION_TIMEOUT + " second(s). " +
"Make sure to specify the executor which has more threads than the requested bossCount. " +

View File

@ -106,7 +106,7 @@ public abstract class AbstractNioWorkerPool<E extends AbstractNioWorker>
}
}
if (!warn) {
if (warn) {
logger.warn(
"Failed to get all worker threads ready within " + INITIALIZATION_TIMEOUT + " second(s). " +
"Make sure to specify the executor which has more threads than the requested workerCount. " +