Skip to content
Snippets Groups Projects
Commit 66725825 authored by inso's avatar inso
Browse files

Change timeout from post

parent 642cc25a
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -183,12 +183,12 @@ class API(object): ...@@ -183,12 +183,12 @@ class API(object):
kwargs['self'] = kwargs.pop('self_') kwargs['self'] = kwargs.pop('self_')
logging.debug("POST : {0}".format(kwargs)) logging.debug("POST : {0}".format(kwargs))
with aiohttp.Timeout(15):
response = await self.connection_handler.session.post( response = await self.connection_handler.session.post(
self.reverse_url(self.connection_handler.http_scheme, path), self.reverse_url(self.connection_handler.http_scheme, path),
data=kwargs, data=kwargs,
headers=self.headers, headers=self.headers,
proxy=self.connection_handler.proxy proxy=self.connection_handler.proxy,
timeout=15
) )
return response return response
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment