|
@@ -244,7 +244,7 @@ async def async_post(url, headers, payload):
|
|
async with aiohttp.ClientSession() as session:
|
|
async with aiohttp.ClientSession() as session:
|
|
for attempt in range(3):
|
|
for attempt in range(3):
|
|
try:
|
|
try:
|
|
- async with session.post(url, headers=headers, data=payload, timeout=10) as response:
|
|
|
|
|
|
+ async with session.post(url, headers=headers, data=payload, timeout=60) as response:
|
|
return await response.json()
|
|
return await response.json()
|
|
except asyncio.TimeoutError:
|
|
except asyncio.TimeoutError:
|
|
if attempt < retries - 1:
|
|
if attempt < retries - 1:
|