increase timeout to register server
This commit is contained in:
parent
b0d7618592
commit
12b4239cab
|
@ -49,7 +49,7 @@ async def register_server(data):
|
|||
|
||||
async with aiohttp.ClientSession() as session:
|
||||
try:
|
||||
async with session.post(url, data=json_data, headers=headers, timeout=5) as response:
|
||||
async with session.post(url, data=json_data, headers=headers, timeout=15) as response:
|
||||
if response.status == 200:
|
||||
# Successful response
|
||||
response_data = await response.json()
|
||||
|
|
Loading…
Reference in New Issue