projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5471468
)
If nonqueue fetch failed, let the connection get refreshed later and eventually try...
author
Mike Rylander
<mrylander@gmail.com>
Tue, 25 Oct 2022 15:27:20 +0000
(11:27 -0400)
committer
Mike Rylander
<mrylander@gmail.com>
Tue, 25 Oct 2022 15:27:20 +0000
(11:27 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/support-scripts/ingest_ctl
patch
|
blob
|
history
diff --git
a/Open-ILS/src/support-scripts/ingest_ctl
b/Open-ILS/src/support-scripts/ingest_ctl
index
9ac9844
..
66311b2
100755
(executable)
--- a/
Open-ILS/src/support-scripts/ingest_ctl
+++ b/
Open-ILS/src/support-scripts/ingest_ctl
@@
-705,7
+705,7
@@
SELECT run_at::DATE AS scheduled_date,
warn_if_chatty("gathering orphan entries");
my $new_entries = gather_outstanding_nonqueue_entries(10 * $max_child); # array ref of queue entries
- if (@$new_entries) {
+ if (
$new_entries and
@$new_entries) {
warn_if_chatty("".scalar(@$new_entries)." new entries");
if ($orphan_processor->{state}) { # already processing some entries
warn_if_chatty("orphan processor is busy, wait and loop");