aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2018-01-11 23:09:23 +0000
committerPascal Terjan <pterjan@mageia.org>2018-01-11 23:09:23 +0000
commitd4d159dc5add522fdf1869562198319e94383724 (patch)
tree8feb83263dc1c01cbaff5bbfcf994f3398d88268
parentd04a33dc14f51fa2f920617d1eeae1d504544f56 (diff)
downloadiurt-d4d159dc5add522fdf1869562198319e94383724.tar
iurt-d4d159dc5add522fdf1869562198319e94383724.tar.gz
iurt-d4d159dc5add522fdf1869562198319e94383724.tar.bz2
iurt-d4d159dc5add522fdf1869562198319e94383724.tar.xz
iurt-d4d159dc5add522fdf1869562198319e94383724.zip
Remove unused option
-rwxr-xr-xiurt3
-rw-r--r--lib/Iurt/Process.pm1
-rw-r--r--lib/Iurt/Urpmi.pm3
3 files changed, 1 insertions, 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},