From 3a0361398caa3fa342706f10973100c00e485f8e Mon Sep 17 00:00:00 2001 From: kunlongli Date: Thu, 28 Sep 2023 11:08:25 +0800 Subject: [PATCH] =?UTF-8?q?bug:=20=E4=BF=AE=E5=A4=8DPULL=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E7=9A=84=E5=88=86=E6=9E=90=E4=BB=BB=E5=8A=A1=E6=9C=AA=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=E8=B6=85=E6=97=B6=20#1227?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bkrepo/analyst/statemachine/TaskStateMachineConfiguration.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/analyst/biz-analyst/src/main/kotlin/com/tencent/bkrepo/analyst/statemachine/TaskStateMachineConfiguration.kt b/src/backend/analyst/biz-analyst/src/main/kotlin/com/tencent/bkrepo/analyst/statemachine/TaskStateMachineConfiguration.kt index e4caff9d63..090f3313b1 100644 --- a/src/backend/analyst/biz-analyst/src/main/kotlin/com/tencent/bkrepo/analyst/statemachine/TaskStateMachineConfiguration.kt +++ b/src/backend/analyst/biz-analyst/src/main/kotlin/com/tencent/bkrepo/analyst/statemachine/TaskStateMachineConfiguration.kt @@ -105,6 +105,7 @@ class TaskStateMachineConfiguration( transition(PULLED, CREATED, DISPATCH_FAILED, subtaskActions) // 超过最长允许执行的时间时,可能会从PULLED转移到FAILED状态 transition(PULLED, FAILED, SubtaskEvent.FAILED, subtaskActions) + transition(PULLED, TIMEOUT, SubtaskEvent.TIMEOUT, subtaskActions) // finished state transition(BLOCKED, BLOCK_TIMEOUT, SubtaskEvent.BLOCK_TIMEOUT, subtaskActions)