From 8f0808acaa5fec17541fa228b4880fbc4e8aeaa6 Mon Sep 17 00:00:00 2001 From: Le-Syl21 <67423638+Le-Syl21@users.noreply.github.com> Date: Thu, 22 Oct 2020 13:14:37 +0200 Subject: [PATCH] Update vplexapi.pm (#2279) 10 seconds timout is too low. I'm in a small environement and it doesn't work for half modes. 30 seconds works better --- storage/emc/vplex/restapi/custom/vplexapi.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/emc/vplex/restapi/custom/vplexapi.pm b/storage/emc/vplex/restapi/custom/vplexapi.pm index 385a092f0..07acdd061 100644 --- a/storage/emc/vplex/restapi/custom/vplexapi.pm +++ b/storage/emc/vplex/restapi/custom/vplexapi.pm @@ -69,7 +69,7 @@ sub check_options { $self->{hostname} = (defined($self->{option_results}->{hostname})) ? shift(@{$self->{option_results}->{hostname}}) : undef; $self->{vplex_username} = (defined($self->{option_results}->{vplex_username})) ? shift(@{$self->{option_results}->{vplex_username}}) : ''; $self->{vplex_password} = (defined($self->{option_results}->{vplex_password})) ? shift(@{$self->{option_results}->{vplex_password}}) : ''; - $self->{timeout} = (defined($self->{option_results}->{timeout})) ? shift(@{$self->{option_results}->{timeout}}) : 10; + $self->{timeout} = (defined($self->{option_results}->{timeout})) ? shift(@{$self->{option_results}->{timeout}}) : 30; if (!defined($self->{hostname})) { $self->{output}->add_option_msg(short_msg => "Need to specify hostname option.");