mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07: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:
parent
9b3e74fe91
commit
1b6228fa10
8 changed files with 17 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue