foreach ( $jobs as $job ) {
++$total;
$batch[] = $job;
if ( count( $batch ) >= $this->mBatchSize ) {
$dst->push( $batch );
$totalOK += count( $batch );
foreach ( $jobs as $job ) {
++$total;
$batch[] = $job;
if ( count( $batch ) >= $this->mBatchSize ) {
$dst->push( $batch );
$totalOK += count( $batch );