diff options
author | Pascal Terjan <pterjan@mageia.org> | 2018-01-11 23:09:23 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2018-01-11 23:09:23 +0000 |
commit | d4d159dc5add522fdf1869562198319e94383724 (patch) | |
tree | 8feb83263dc1c01cbaff5bbfcf994f3398d88268 | |
parent | d04a33dc14f51fa2f920617d1eeae1d504544f56 (diff) | |
download | iurt-d4d159dc5add522fdf1869562198319e94383724.tar iurt-d4d159dc5add522fdf1869562198319e94383724.tar.gz iurt-d4d159dc5add522fdf1869562198319e94383724.tar.bz2 iurt-d4d159dc5add522fdf1869562198319e94383724.tar.xz iurt-d4d159dc5add522fdf1869562198319e94383724.zip |
Remove unused option
-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}, |