aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
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 /lib/Iurt
parentd04a33dc14f51fa2f920617d1eeae1d504544f56 (diff)
downloadiurt-d4d159dc5add522fdf1869562198319e94383724.tar
iurt-d4d159dc5add522fdf1869562198319e94383724.tar.gz
iurt-d4d159dc5add522fdf1869562198319e94383724.tar.bz2
iurt-d4d159dc5add522fdf1869562198319e94383724.tar.xz
iurt-d4d159dc5add522fdf1869562198319e94383724.zip
Remove unused option
Diffstat (limited to 'lib/Iurt')
-rw-r--r--lib/Iurt/Process.pm1
-rw-r--r--lib/Iurt/Urpmi.pm3
2 files changed, 0 insertions, 4 deletions
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},