summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2019-02-04 09:30:40 +0100
committerHarald Musum <musum@verizonmedia.com>2019-02-04 09:30:40 +0100
commit9975509008c900355331fe6454d0a82385030f6c (patch)
tree1637467b561b514dfcc0f57a085cd13ba79624d3 /config-model
parent0e63320ed4803d38b44f380f3182abcf6d19381d (diff)
Increase max time for curl
Deploy might take a long time
Diffstat (limited to 'config-model')
-rwxr-xr-xconfig-model/src/main/perl/vespa-deploy2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/perl/vespa-deploy b/config-model/src/main/perl/vespa-deploy
index 4ed8311d7ae..e4e6e65e58e 100755
--- a/config-model/src/main/perl/vespa-deploy
+++ b/config-model/src/main/perl/vespa-deploy
@@ -98,7 +98,7 @@ my $cloudconfig_dir = "$HOME/.cloudconfig";
my $session_id_file;
my $configsource_url_used_file = "$cloudconfig_dir/deploy-configsource-url-used";
-my $curl_command = 'curl -A vespa-deploy --silent --show-error --connect-timeout 30 --max-time 300';
+my $curl_command = 'curl -A vespa-deploy --silent --show-error --connect-timeout 30 --max-time 1200';
my $CURL_PUT = $curl_command . ' --write-out \%{http_code} --request PUT';
my $CURL_GET = $curl_command . ' --request GET';