mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
更改测试代码
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
<property name="ruleSource" value="config/flow.xml"/>
|
||||
<property name="slotSize" value="2024"/>
|
||||
<property name="whenMaxWaitSecond" value="20"/>
|
||||
<!--<property name="enableLog" value="false"/>
|
||||
<property name="enableLog" value="true"/>
|
||||
<property name="queueLimit" value="100"/>
|
||||
<property name="period" value="5000"/>
|
||||
<property name="delay" value="5000"/>-->
|
||||
<property name="delay" value="5000"/>
|
||||
</bean>
|
||||
|
||||
<bean id="flowExecutor" class="com.yomahub.liteflow.core.FlowExecutor">
|
||||
|
||||
Reference in New Issue
Block a user