Increase timeout

This commit is contained in:
GGabriele 2016-09-03 02:27:21 +02:00 committed by Matt Clay
parent 3c0a1675c0
commit 4bcf5797b6

View file

@ -563,7 +563,7 @@ class Nxapi(object):
headers['Cookie'] = self._nxapi_auth
response, headers = fetch_url(self.module, self.url, data=data,
headers=headers, method='POST')
headers=headers, method='POST', timeout=20)
self._nxapi_auth = headers.get('set-cookie')