my $dbhost;
my $batch;
my $cutoff;
-my $wait = 0;
+my $wait = 1;
my $output;
my $link_skipped;
FROM $schema.$batch
WHERE to_import
AND NOT imported
- ORDER BY id
+ ORDER BY bib_id DESC
LIMIT 1
)
});
)
});
$dbh->commit;
- sleep $wait if ($wait);
+ sleep $wait;
}
}
)
});
$dbh->commit;
+ sleep $wait;
}
}