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