Skip to content

Commit

Permalink
sleep 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yostra committed Jan 12, 2021
1 parent 651d22d commit c3b6f30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmds/start.py
Expand Up @@ -38,6 +38,7 @@ async def create_start_daemon_connection(root_path):
process = launch_start_daemon(root_path)
# give the daemon a chance to start up
process.stdout.readline()
await asyncio.sleep(1)
# it prints "daemon: listening"
connection = await connect_to_daemon_and_validate(root_path)
if connection:
Expand Down

0 comments on commit c3b6f30

Please sign in to comment.