Commit 1c983936 authored by zhouwei's avatar zhouwei

增强超时处理逻辑

parent b0ef985b
......@@ -12,7 +12,7 @@ import org.springframework.context.annotation.Configuration;
public class AppConfig {
@Value("${alert.host}")
String alertHost;
@Value("${gateway.request.timeout:30000}")
@Value("${gateway.request.timeout:50000}")
private int requestTimeout;
public int getRequestTimeout() {
......
......@@ -19,7 +19,7 @@ public class ScheduledTasksService {
this.taskScheduler = taskScheduler;
}
@PostConstruct
// @PostConstruct
public void scheduleTask() {
//定时刷新配置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment