Sometimes we want to custom max-inflight-msgs for a given peer. For example, the target peer's memory or disk usage is almost full. This PR allows this.
BTW a bug in inflight_buffers_size is fixed. With the patch its return value is real size instead of length.
Signed-off-by: qupeng qupeng@pingcap.com
Sometimes we want to custom
max-inflight-msgs
for a given peer. For example, the target peer's memory or disk usage is almost full. This PR allows this.BTW a bug in
inflight_buffers_size
is fixed. With the patch its return value is real size instead of length.