From 55cb1371d84221cdc829641957343f75150ee796 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Tue, 13 Jun 2017 07:08:30 +0100 Subject: [PATCH] make default to disable retry window --- lib/App/Netdisco/DB/ResultSet/Admin.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/App/Netdisco/DB/ResultSet/Admin.pm b/lib/App/Netdisco/DB/ResultSet/Admin.pm index bed194b1..40d995c4 100644 --- a/lib/App/Netdisco/DB/ResultSet/Admin.pm +++ b/lib/App/Netdisco/DB/ResultSet/Admin.pm @@ -19,7 +19,7 @@ to some jobs. They match the device IP, current backend, and job action. Pass the C FQDN (or the current host will be used as a default), the C (option disabled if 0/undef value is passed), and -C when devices will be retried once (default 7 days). +C when devices will be retried once (disabled if 0/undef passed). =cut @@ -27,7 +27,7 @@ sub skipped { my ($rs, $backend, $max_deferrals, $retry) = @_; $backend ||= (hostfqdn || 'localhost'); $max_deferrals ||= 10_000_000; # not really 'disabled' - $retry ||= '7 days'; + $retry ||= '100 years'; # not really 'disabled' return $rs->correlate('device_skips')->search(undef,{ # NOTE: bind param list order is significant