Skip to content

Commit 31b775a

Browse files
committed
Disable heartbeat check by default
1 parent c576f12 commit 31b775a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bluefog/run/interactive_run.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def parse_args():
6363
type=str, default="bluefog",
6464
help="The profile name for ipython environment.")
6565

66-
parser_start.add_argument('--disable-heartbeat', action="store_true", dest="disable_heartbeat",
67-
help='Disable the heartbeat checking service between '
66+
parser_start.add_argument('--enable-heartbeat', action="store_true", dest="enable_heartbeat",
67+
help='Enable the heartbeat checking service between '
6868
'ipcontroller and ipengines.')
6969

7070
group_hosts_parent = parser_start.add_argument_group('host arguments')
@@ -284,7 +284,7 @@ def local_machine_launch(args, env: Dict[str, str]):
284284
stderr=subprocess.STDOUT)
285285
_wait_engine_file_ready(args.profile)
286286
print("Starting the engines.")
287-
if args.disable_heartbeat:
287+
if not args.enable_heartbeat:
288288
disabled = _disable_heart_beatcheck(args.profile)
289289
print(f"Heartbeat Service Disabled: {disabled}")
290290

0 commit comments

Comments
 (0)