From 2e2d64cef1344759a78cb72c78c14b2a968e09b7 Mon Sep 17 00:00:00 2001 From: bryan31 Date: Fri, 19 Mar 2021 14:32:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/yomahub/flowtest/Runner.java | 4 ++++ .../src/main/resources/applicationContext.xml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/liteflow-test-spring/src/main/java/com/yomahub/flowtest/Runner.java b/liteflow-test-spring/src/main/java/com/yomahub/flowtest/Runner.java index 8aa23f711..31becd387 100644 --- a/liteflow-test-spring/src/main/java/com/yomahub/flowtest/Runner.java +++ b/liteflow-test-spring/src/main/java/com/yomahub/flowtest/Runner.java @@ -19,6 +19,10 @@ public class Runner { Slot slot = flowExecutor.execute("chain3", "it's a request"); System.out.println(slot); + while (true){ + Thread.sleep(60000); + } + // System.exit(0); } } diff --git a/liteflow-test-spring/src/main/resources/applicationContext.xml b/liteflow-test-spring/src/main/resources/applicationContext.xml index 7208a910a..74b9df146 100644 --- a/liteflow-test-spring/src/main/resources/applicationContext.xml +++ b/liteflow-test-spring/src/main/resources/applicationContext.xml @@ -17,10 +17,10 @@ - +