mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 14:02:49 +08:00
update LoadBalancer Options (#388)
update LoadBalancer with LoadBalancerOptions
This commit is contained in:
parent
04139333ea
commit
3ef978460c
@ -35,7 +35,9 @@ and LeastConnection algorithm you can use. If no load balancer is specified Ocel
|
||||
"UpstreamPathTemplate": "/posts/{postId}",
|
||||
"UpstreamHttpMethod": [ "Put" ],
|
||||
"ServiceName": "product",
|
||||
"LoadBalancer": "LeastConnection",
|
||||
"LoadBalancerOptions": {
|
||||
"Type": "LeastConnection"
|
||||
},
|
||||
"UseServiceDiscovery": true
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user