mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 15:30: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}",
 | 
			
		||||
        "UpstreamHttpMethod": [ "Put" ],
 | 
			
		||||
        "ServiceName": "product",
 | 
			
		||||
        "LoadBalancer": "LeastConnection",
 | 
			
		||||
        "LoadBalancerOptions": {
 | 
			
		||||
            "Type": "LeastConnection"
 | 
			
		||||
        },
 | 
			
		||||
        "UseServiceDiscovery": true
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -151,4 +153,4 @@ The config might look something like
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
Please take a look through all of the docs to understand these options.
 | 
			
		||||
Please take a look through all of the docs to understand these options.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user