finally got fed up with the "is exhausted" spam.

This commit is contained in:
Joris Vink 2018-04-10 14:11:06 +02:00
parent fd53f48cec
commit 45260b491b
1 changed files with 1 additions and 4 deletions

View File

@ -78,11 +78,8 @@ kore_pool_get(struct kore_pool *pool)
pool_lock(pool);
#endif
if (LIST_EMPTY(&(pool->freelist))) {
kore_log(LOG_NOTICE, "pool %s is exhausted (%zu/%zu)",
pool->name, pool->inuse, pool->elms);
if (LIST_EMPTY(&(pool->freelist)))
pool_region_create(pool, pool->elms);
}
entry = LIST_FIRST(&(pool->freelist));
if (entry->state != POOL_ELEMENT_FREE)