Commit a9f8654cc656bf06612ce7353f13e9ab935dfae0

Authored by 唐植莲
1 parent 686066f1

discovery启动时不要自动注册自己

Showing 1 changed file with 2 additions and 0 deletions
discovery.yml
... ... @@ -23,6 +23,8 @@ eureka:
23 23 enable-self-preservation: false
24 24 eviction-interval-timer-in-ms: 5000
25 25 client:
  26 + register-with-eureka: false
  27 + fetch-registry: false
26 28 registerWithEureka: false
27 29 fetchRegistry: false
28 30 serviceUrl:
... ...