We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4220e9 commit be3539aCopy full SHA for be3539a
hathor/healthcheck/resources/healthcheck.py
@@ -43,7 +43,7 @@ def render_GET(self, request):
43
sync_component.add_healthcheck(lambda: sync_healthcheck(self.manager))
44
45
healthcheck = Healthcheck(name='hathor-core', components=[sync_component])
46
- status = asyncio.run(healthcheck.run())
+ status = asyncio.get_event_loop().run_until_complete(healthcheck.run())
47
48
if strict_status_code:
49
request.setResponseCode(200)
0 commit comments