mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
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:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user