Fix writeq_high_water and writeq_low_water
The parameters were never read at startup and could not be modified at runtime. Also the values were only read once at startup.
This commit is contained in:
@ -193,6 +193,8 @@ DCB* dcb_alloc(dcb_role_t role, SERV_LISTENER* listener)
|
||||
newdcb->dcb_role = role;
|
||||
newdcb->listener = listener;
|
||||
newdcb->last_read = mxs_clock();
|
||||
newdcb->low_water = config_writeq_low_water();
|
||||
newdcb->high_water = config_writeq_high_water();
|
||||
|
||||
if (role == DCB_ROLE_SERVICE_LISTENER)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user