Commit b76a0ce880b4bb54841a72c685d517defd95d0ec
1 parent
e6372e06
development 配置添加取消自我保护功能
Showing
1 changed file
with
3 additions
and
0 deletions
discovery.yml
| @@ -20,6 +20,9 @@ eureka: | @@ -20,6 +20,9 @@ eureka: | ||
| 20 | instance: | 20 | instance: |
| 21 | hostname: discovery | 21 | hostname: discovery |
| 22 | perferIpAddress: true | 22 | perferIpAddress: true |
| 23 | + server: | ||
| 24 | + enable-self-preservation: false | ||
| 25 | + eviction-interval-timer-in-ms: 4000 | ||
| 23 | client: | 26 | client: |
| 24 | registerWithEureka: false | 27 | registerWithEureka: false |
| 25 | fetchRegistry: false | 28 | fetchRegistry: false |