From d4d159dc5add522fdf1869562198319e94383724 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 11 Jan 2018 23:09:23 +0000 Subject: Remove unused option --- iurt | 3 +-- lib/Iurt/Process.pm | 1 - lib/Iurt/Urpmi.pm | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/iurt b/iurt index 8b7b726..f663a10 100755 --- a/iurt +++ b/iurt @@ -838,8 +838,7 @@ retry: } plog('DEBUG', "calling callback for $opt->{hash}"); 1; - }, - freq => 1)) { + })) { $run{status}{$srpm} = 'build_failure'; return $srpm; diff --git a/lib/Iurt/Process.pm b/lib/Iurt/Process.pm index 99cfccf..131a5a6 100644 --- a/lib/Iurt/Process.pm +++ b/lib/Iurt/Process.pm @@ -217,7 +217,6 @@ sub perform_command { my ($command, $run, $config, %opt) = @_; $opt{timeout} ||= 600; - $opt{freq} ||= 24; $opt{type} ||= 'shell'; plog('DEBUG', "Using timeout of $opt{timeout} seconds."); diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 679a140..7ac6a74 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -175,7 +175,6 @@ sub add_media__urpmi_root { $run, $config, mail => $config->{admin}, use_iurt_root_command => 1, - freq => 1, retry => 2, debug_mail => $run->{debug}) or return; @@ -198,7 +197,6 @@ sub add_media { perform_command($cmd, $run, $config, mail => $config->{admin}, - freq => 1, retry => 2, use_iurt_root_command => 1, debug_mail => $run->{debug}) @@ -423,7 +421,6 @@ sub install_packages { hash => "${log}_$title", timeout => 3600, # [pixel] 10 minutes was not enough, 1 hour should be better srpm => $title, - freq => 1, #cc => $cc, retry => 2, debug_mail => $run->{debug}, -- cgit v1.2.1