Skip to content

Commit

Permalink
add sleep to give Slurm time to relinquish user's compute node
Browse files Browse the repository at this point in the history
  • Loading branch information
kchilleri committed Jan 10, 2025
1 parent 2471a55 commit 91807d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions beeflow/client/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ def start(foreground: bool = typer.Option(False, '--foreground', '-F',
if bee_client.get_hostname() == "" and bee_client.check_backend_status() == "":
bee_client.setup_hostname(start_hn) # add to client db
else:
time.sleep(5) # giving Slurm time to relinquish compute node, if necessary
bee_client.check_db_flags(start_hn)

if backend: # allow beeflow to run on backend node
Expand Down

0 comments on commit 91807d3

Please sign in to comment.