const BATCH_SIZE: i64 = 10;
Maximum number of pending rows to drain per tick.
Tuned small so that a transient API outage cannot lock a large batch of rows in-flight for the duration of the HTTP timeout.