Skip to content

Commit 78878c3

Browse files
committed
fix 任务失败重试
1 parent ced8675 commit 78878c3

File tree

1 file changed

+2
-0
lines changed
  • flinkx-core/src/main/java/com/dtstack/flinkx

1 file changed

+2
-0
lines changed

flinkx-core/src/main/java/com/dtstack/flinkx/Main.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ private static void configRestartStrategy(StreamExecutionEnvironment env, DataTr
145145
} else {
146146
env.setRestartStrategy(RestartStrategies.noRestart());
147147
}
148+
} else {
149+
env.setRestartStrategy(RestartStrategies.noRestart());
148150
}
149151
}
150152

0 commit comments

Comments
 (0)