mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2025-03-01 17:23:25 +08:00
Update log messages
This commit is contained in:
parent
8dce8088bf
commit
31ab41f2e9
1 changed files with 2 additions and 2 deletions
4
start.py
4
start.py
|
@ -93,11 +93,11 @@ async def is_port_open(host: str, port: int) -> bool:
|
|||
|
||||
async def check_reachability(service: BaseService) -> None:
|
||||
while True:
|
||||
print(f'Waiting for {service.name} to be reachable on port {service.port}')
|
||||
print(f'[{service.name}] Waiting to be reachable on port {service.port}')
|
||||
if await is_port_open(host=service.host, port=service.port):
|
||||
break
|
||||
await asyncio.sleep(DEFAULT_SLEEP_TIME)
|
||||
print(f'Connection to {service.name} on port {service.port} verified')
|
||||
print(f'[{service.name}] Connection on port {service.port} verified')
|
||||
|
||||
|
||||
async def main() -> None:
|
||||
|
|
Loading…
Reference in a new issue