Skip to content

Commit fec89f4

Browse files
authored
AAP-45589 set the default timeout of OPT_NETWORK_TIMEOUT from 30 to 20 (#731)
1 parent 54a03e9 commit fec89f4

File tree

1 file changed

+1
-1
lines changed
  • ansible_base/authentication/authenticator_plugins

1 file changed

+1
-1
lines changed

ansible_base/authentication/authenticator_plugins/ldap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def __init__(self, prefix: str = 'AUTH_LDAP_', defaults: dict = {}):
380380
# If a DB-backed setting is specified that wipes out the
381381
# OPT_NETWORK_TIMEOUT, fall back to a sane default
382382
if ldap.OPT_NETWORK_TIMEOUT not in internal_data:
383-
internal_data[ldap.OPT_NETWORK_TIMEOUT] = 30
383+
internal_data[ldap.OPT_NETWORK_TIMEOUT] = 20
384384

385385
# when specifying `.set_option()` calls for TLS in python-ldap, the
386386
# *order* in which you invoke them *matters*, particularly in Python3,

0 commit comments

Comments
 (0)