Skip to content

Commit 84b1293

Browse files
authored
[Chore][Autoscaler] Clarify disable_launch_config_check comment in StandardAutoscaler (#51751)
Signed-off-by: Dongjun Na <kmu5544616@gmail.com>
1 parent 5d9e661 commit 84b1293

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

python/ray/autoscaler/_private/autoscaler.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,10 @@ def read_fn():
279279
)
280280
logger.info(f"{DISABLE_NODE_UPDATERS_KEY}:{self.disable_node_updaters}")
281281

282-
# Disable launch config checking if true.
283-
# This is set in the fake_multinode situations where there isn't any
284-
# meaningful node "type" to enforce.
282+
# Disable launch configuration checking if set to true.
283+
# This setting is used in scenarios where there is no meaningful node type
284+
# to enforce, such as in fake multinode situations. When this option is enabled,
285+
# outdated nodes will not be terminated.
285286
self.disable_launch_config_check = self.config["provider"].get(
286287
DISABLE_LAUNCH_CONFIG_CHECK_KEY, False
287288
)

0 commit comments

Comments
 (0)