Increase persistent command_timeout default value (#51056)

* Increase persistent command_timeout default value

*  Increase command_timeout default value from 10 to 30 sec
   to reduce frequent timeout issue for network connection
   types (netconf/network_cli/httpapi/napalm)

* Fix review comments
This commit is contained in:
Ganesh Nalawade 2019-01-21 10:50:52 +05:30 committed by GitHub
commit 1b6228fa10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 21 deletions

View file

@ -1554,7 +1554,7 @@ PERSISTENT_CONNECT_RETRY_TIMEOUT:
type: integer
PERSISTENT_COMMAND_TIMEOUT:
name: Persistence command timeout
default: 10
default: 30
description: This controls the amount of time to wait for response from remote device before timing out presistent connection.
env: [{name: ANSIBLE_PERSISTENT_COMMAND_TIMEOUT}]
ini:

View file

@ -137,7 +137,7 @@ options:
return from the remote device. If this timer is exceeded before the
command returns, the connection plugin will raise an exception and
close.
default: 10
default: 30
ini:
- section: persistent_connection
key: command_timeout

View file

@ -121,7 +121,7 @@ options:
return from the remote device. If this timer is exceeded before the
command returns, the connection plugin will raise an exception and
close.
default: 10
default: 30
ini:
- section: persistent_connection
key: command_timeout

View file

@ -149,7 +149,7 @@ options:
return from the remote device. If this timer is exceeded before the
command returns, the connection plugin will raise an exception and
close.
default: 10
default: 30
ini:
- section: persistent_connection
key: command_timeout

View file

@ -151,7 +151,7 @@ options:
return from the remote device. If this timer is exceeded before the
command returns, the connection plugin will raise an exception and
close.
default: 10
default: 30
ini:
- section: persistent_connection
key: command_timeout