Skip to content

Commit

Permalink
Merge pull request #164 from Mikhail-Gl96/bug/fix-aiohttp-loop-start
Browse files Browse the repository at this point in the history
bug/fix-aiohttp-loop-start
  • Loading branch information
SyrexMinus authored Nov 9, 2023
2 parents 145b4fc + bad9462 commit 10f1fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smart_kit/start_points/main_loop_async_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def run(self):
if not aiohttp_config:
log("aiohttp.yml is empty or missing. Server will be started with default parameters", level="WARN")
asyncio.get_event_loop().run_until_complete(self.async_init())
aiohttp.web.run_app(app=self.app, **aiohttp_config)
aiohttp.web.run_app(app=self.app, loop=asyncio.get_event_loop(), **aiohttp_config)

def stop(self, signum, frame):
pass
Expand Down

0 comments on commit 10f1fea

Please sign in to comment.