mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-26 08:26:28 +00:00
Increase default socket timeout to 5 minutes
This commit is contained in:
@@ -76,7 +76,7 @@ class Connection(object):
|
||||
# TODO: make the timeout and retries configurable?
|
||||
tries = 3
|
||||
self.conn = socket.socket()
|
||||
self.conn.settimeout(30.0)
|
||||
self.conn.settimeout(300.0)
|
||||
while tries > 0:
|
||||
try:
|
||||
self.conn.connect((self.host,self.fbport))
|
||||
|
||||
Reference in New Issue
Block a user