Increase timeout
This commit is contained in:
parent
3c0a1675c0
commit
4bcf5797b6
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ class Nxapi(object):
|
||||||
headers['Cookie'] = self._nxapi_auth
|
headers['Cookie'] = self._nxapi_auth
|
||||||
|
|
||||||
response, headers = fetch_url(self.module, self.url, data=data,
|
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')
|
self._nxapi_auth = headers.get('set-cookie')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue