改变基础配置的方式
This commit is contained in:
parent
b7b4cd6d66
commit
c1004fe997
|
|
@ -47,6 +47,8 @@ public class MonitorBus {
|
|||
private final ConcurrentHashMap<String, BoundedPriorityQueue<CompStatistics>> statisticsMap = new ConcurrentHashMap<>();
|
||||
|
||||
public MonitorBus(LiteflowConfig liteflowConfig) {
|
||||
this.liteflowConfig = liteflowConfig;
|
||||
|
||||
if (ObjectUtil.isNotNull(liteflowConfig.getEnableLog())){
|
||||
this.enableLog = liteflowConfig.getEnableLog();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ public class Runner {
|
|||
try{
|
||||
SpringApplication.run(Runner.class, args);
|
||||
|
||||
System.exit(0);
|
||||
// System.exit(0);
|
||||
}catch (Throwable t){
|
||||
t.printStackTrace();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1,7 @@
|
|||
liteflow.rule-source=config/flow.xml
|
||||
liteflow.rule-source=config/flow.xml
|
||||
liteflow.slot-size=2048
|
||||
liteflow.when-max-wait-second=20
|
||||
liteflow.monitor.enable-log=true
|
||||
liteflow.monitor.queue-limit=300
|
||||
liteflow.monitor.delay=10000
|
||||
liteflow.monitor.period=10000
|
||||
Loading…
Reference in New Issue