Fix for missing statistics increment
This commit is contained in:
@ -1263,6 +1263,7 @@ int action;
|
|||||||
blr_slave_rotate(slave, ptr);
|
blr_slave_rotate(slave, ptr);
|
||||||
}
|
}
|
||||||
slave->stats.n_bytes += gwbuf_length(pkt);
|
slave->stats.n_bytes += gwbuf_length(pkt);
|
||||||
|
slave->stats.n_events++;
|
||||||
slave->dcb->func.write(slave->dcb, pkt);
|
slave->dcb->func.write(slave->dcb, pkt);
|
||||||
if (hdr->event_type != ROTATE_EVENT)
|
if (hdr->event_type != ROTATE_EVENT)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user