Skip to content

Commit

Permalink
Display warning when activating reserve_pool
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Nov 2, 2010
1 parent 97ca689 commit e743bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ void launch_new_connection(PgPool *pool)
PgSocket *c = first_socket(&pool->waiting_client_list);
if (c && (now - c->request_time) >= cf_res_pool_timeout) {
if (total < pool->db->pool_size + pool->db->res_pool_size) {
log_debug("reserve_pool activated");
slog_warning(c, "Taking connection from reserve_pool");
goto allow_new;
}
}
Expand Down

0 comments on commit e743bcc

Please sign in to comment.