更改测试代码

This commit is contained in:
bryan31
2021-03-19 14:32:54 +08:00
parent 1895191b0a
commit 2e2d64cef1
2 changed files with 6 additions and 2 deletions

View File

@@ -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);
}
}

View File

@@ -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">