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 439f092 commit e7f276cCopy full SHA for e7f276c
core/web.py
@@ -227,7 +227,7 @@ async def _check():
227
return data == w
228
except:
229
return False
230
- if _check():
+ if await _check():
231
return
232
await start_public_server()
233
logger.twarning("web.warning.public_port", port=config.const.public_port)
@@ -250,7 +250,7 @@ async def init():
250
251
252
253
- scheduler.run_repeat(check_server, 5)
+ scheduler.run_repeat(check_server, 5, 5)
254
255
async def start_public_server():
256
global public_server
0 commit comments