aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Process.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2018-01-11 23:05:46 +0000
committerPascal Terjan <pterjan@mageia.org>2018-01-11 23:08:07 +0000
commitd04a33dc14f51fa2f920617d1eeae1d504544f56 (patch)
treed74d9f36e06cf0c939df813309eea2c8edc838f1 /lib/Iurt/Process.pm
parentd01eddf575f322d11bd3b2e51403f0378d21d624 (diff)
downloadiurt-d04a33dc14f51fa2f920617d1eeae1d504544f56.tar
iurt-d04a33dc14f51fa2f920617d1eeae1d504544f56.tar.gz
iurt-d04a33dc14f51fa2f920617d1eeae1d504544f56.tar.bz2
iurt-d04a33dc14f51fa2f920617d1eeae1d504544f56.tar.xz
iurt-d04a33dc14f51fa2f920617d1eeae1d504544f56.zip
Default to 10 minutes for commands
Especially for large packages 5 minutes to recreate src.rpm is not enough
Diffstat (limited to 'lib/Iurt/Process.pm')
-rw-r--r--lib/Iurt/Process.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Process.pm b/lib/Iurt/Process.pm
index dfecc46..99cfccf 100644
--- a/lib/Iurt/Process.pm
+++ b/lib/Iurt/Process.pm
@@ -216,7 +216,7 @@ Return true.
sub perform_command {
my ($command, $run, $config, %opt) = @_;
- $opt{timeout} ||= 300;
+ $opt{timeout} ||= 600;
$opt{freq} ||= 24;
$opt{type} ||= 'shell';