kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 45260b491b3fd412a56f9ed044c30e4dbb052964
parent fd53f48cece3c3500b5609861e7fad4fdd1dabf0
Author: Joris Vink <joris@coders.se>
Date:   Tue, 10 Apr 2018 14:11:06 +0200

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

Diffstat:
src/pool.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/pool.c b/src/pool.c @@ -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)