This commit only causes load bibs to wait if the --wait option is
specified with a non-zero value. It also changes the default for the
global $wait variable that the option is read into to zero.
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
my $dbhost;
my $batch;
my $cutoff;
-my $wait = 1;
+my $wait = 0;
my $output;
my $link_skipped;
)
});
$dbh->commit;
- sleep $wait;
+ sleep $wait if ($wait);
}
}