add - 添加 api 调用慢的告警
This commit is contained in:
parent
577c85300b
commit
c947e67bd9
@ -25,6 +25,7 @@ import org.flowable.engine.impl.util.ProcessDefinitionUtil;
|
||||
import org.springframework.beans.factory.ObjectProvider;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
@ -68,6 +69,7 @@ public class EngineExecutionStartListener implements ExecutionListener {
|
||||
@Resource
|
||||
private ObjectProvider<BpmnTaskDelegate> bpmTaskDelegate;
|
||||
@Resource
|
||||
@Lazy
|
||||
private List<BpmnTaskAssigneeSelector> selectors;
|
||||
@Value("${workflow.api.timeout:10}")
|
||||
private Long apiTimeout;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user