diff options
-rwxr-xr-x | iurt | 3 | ||||
-rw-r--r-- | lib/Iurt/Process.pm | 1 | ||||
-rw-r--r-- | lib/Iurt/Urpmi.pm | 3 |
3 files changed, 1 insertions, 6 deletions
@@ -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}, |