Skip to content

Commit

Permalink
Downgrade the 'You probably need to increase \"spare\"' warning to debug
Browse files Browse the repository at this point in the history
It's no longer a big issue since the connection pool supports multiple pending spawns, and can cope with rapid ramp up much better.
  • Loading branch information
arr2036 committed Feb 2, 2015
1 parent 8ba15d7 commit d0590d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -1201,8 +1201,8 @@ static void *fr_connection_get_internal(fr_connection_pool_t *pool, int spawn)

if (!spawn) return NULL;

WARN("%s: %i of %u connections in use. You probably need to increase \"spare\"", pool->log_prefix,
pool->active, pool->num);
DEBUG("%s: %i of %u connections in use. You may need to increase \"spare\"", pool->log_prefix,
pool->active, pool->num);
this = fr_connection_spawn(pool, now, true); /* MY connection! */
if (!this) return NULL;
pthread_mutex_lock(&pool->mutex);
Expand Down

0 comments on commit d0590d9

Please sign in to comment.