From 64411b9e5f09db141a4f390709dc3e0f530b4713 Mon Sep 17 00:00:00 2001 From: Andres Gomez Ferrer Date: Tue, 18 Apr 2023 15:32:39 +0200 Subject: [PATCH] Disable danglig flyte workflow thread --- .../java/com/spotify/styx/flyte/FlyteAdminClientRunner.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/styx-scheduler-service/src/main/java/com/spotify/styx/flyte/FlyteAdminClientRunner.java b/styx-scheduler-service/src/main/java/com/spotify/styx/flyte/FlyteAdminClientRunner.java index 9e67fbc829..ed18cf1290 100644 --- a/styx-scheduler-service/src/main/java/com/spotify/styx/flyte/FlyteAdminClientRunner.java +++ b/styx-scheduler-service/src/main/java/com/spotify/styx/flyte/FlyteAdminClientRunner.java @@ -263,8 +263,9 @@ public void poll(FlyteExecutionId flyteExecutionId, RunState runState) { } void init() { - LOG.info("Scheduling terminate dangling flyte execution thread"); - scheduleWithJitter(this::terminateDanglingFlyteExecutions, scheduledExecutor, terminateDanglingFlyteExecInterval); + // Comment this to unblock the continuously aborting workflows to analyze this properly. + //LOG.info("Scheduling terminate dangling flyte execution thread"); + //scheduleWithJitter(this::terminateDanglingFlyteExecutions, scheduledExecutor, terminateDanglingFlyteExecInterval); } @VisibleForTesting