From c9f5b3d19a09d2698d56574c5f6d581d138895de Mon Sep 17 00:00:00 2001 From: clearml <> Date: Mon, 24 Feb 2025 13:26:26 +0200 Subject: [PATCH] Force the stop command to avoid a potential race --- clearml_agent/commands/worker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/clearml_agent/commands/worker.py b/clearml_agent/commands/worker.py index 2f84347..fe0a5eb 100644 --- a/clearml_agent/commands/worker.py +++ b/clearml_agent/commands/worker.py @@ -3260,6 +3260,7 @@ class Worker(ServiceCommandSection): task=task_id, status_reason="task was stopped by tasks.stop", status_message=self._task_status_change_message, + force=False ) )