Added the 30 sec timeout for aiohttp

This commit is contained in:
phixxy 2023-07-17 17:44:23 -07:00
parent c9ae6ec00f
commit c4307423c7

View file

@ -348,7 +348,7 @@ async def task_loop():
await bot_stuff.send("All daily tasks successfully ran!")
async def create_session():
return aiohttp.ClientSession()
return aiohttp.ClientSession(timeout=30)
async def close_session(session):
await session.close()