From: Mike Rylander Date: Tue, 25 Oct 2022 15:27:20 +0000 (-0400) Subject: If nonqueue fetch failed, let the connection get refreshed later and eventually try... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=33a4b74ac6a28e5742b5f00a87e6176439c5bf94;p=working%2FEvergreen.git If nonqueue fetch failed, let the connection get refreshed later and eventually try again Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/support-scripts/ingest_ctl b/Open-ILS/src/support-scripts/ingest_ctl index 9ac98443d6..66311b2134 100755 --- 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");