Added missing subtraction of current number of connections.
This commit is contained in:
@ -558,6 +558,8 @@ dcb_process_victim_queue(DCB *listofdcb)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if(dcb->server)
|
||||||
|
atomic_add(&dcb->server->stats.n_current,-1);
|
||||||
dcb->fd = DCBFD_CLOSED;
|
dcb->fd = DCBFD_CLOSED;
|
||||||
|
|
||||||
LOGIF(LD, (skygw_log_write_flush(
|
LOGIF(LD, (skygw_log_write_flush(
|
||||||
|
Reference in New Issue
Block a user