Skip to content

Commit 9ee376a

Browse files
authored
Fixing verification of the hearbeat value (#115)
1 parent 8f74265 commit 9ee376a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bluefog/run/interactive_run.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def multiple_machines_launch(args, env: Dict[str, str],
347347
subprocess.run('ipcluster nbextension enable --user',
348348
shell=True, env=env)
349349
print("Starting the controller.")
350-
if args.disable_heartbeat:
350+
if not args.enable_heartbeat:
351351
_disable_heart_beatcheck(args.profile)
352352
stdout = None if args.verbose else subprocess.PIPE
353353
p_controller = subprocess.Popen(ipcontroller_command, shell=True, env=env, stdout=stdout,

0 commit comments

Comments
 (0)