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

Change timeout from post

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