mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
update nacos watch pull duration to 30 seconds
This commit is contained in:
parent
ebaf38fda7
commit
04613951be
@ -29,4 +29,12 @@
|
|||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
@ -25,4 +25,12 @@
|
|||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
@ -68,7 +68,7 @@ public class NacosDiscoveryProperties {
|
|||||||
/**
|
/**
|
||||||
* watch delay,duration to pull new service from nacos server.
|
* watch delay,duration to pull new service from nacos server.
|
||||||
*/
|
*/
|
||||||
private long watchDelay = 5000;
|
private long watchDelay = 30000;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* nacos naming log file name
|
* nacos naming log file name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user