Added the 30 sec timeout for aiohttp
This commit is contained in:
parent
c9ae6ec00f
commit
c4307423c7
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ async def task_loop():
|
||||||
await bot_stuff.send("All daily tasks successfully ran!")
|
await bot_stuff.send("All daily tasks successfully ran!")
|
||||||
|
|
||||||
async def create_session():
|
async def create_session():
|
||||||
return aiohttp.ClientSession()
|
return aiohttp.ClientSession(timeout=30)
|
||||||
|
|
||||||
async def close_session(session):
|
async def close_session(session):
|
||||||
await session.close()
|
await session.close()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue