
Given the assumption that queries are rarely 16MB long and that realistically the only time that happens is during a large dump of data, we can limit the size of a single read to at most one MariaDB/MySQL packet at a time. This change allows the network throttling to engage a lot sooner and reduces the maximum overshoot of throtting to 16MB.