algo.LeastWorkLoadBalancer.set()
Description
Sets weight of a target.
Syntax
balancer.set(target, weight)
Parameters
set(target, weight)
targetweight
A string representing the target to add or set weight for.
A number as the weight of the target.
Sets weight of a target.
balancer.set(target, weight)
set(target, weight)
A string representing the target to add or set weight for.
A number as the weight of the target.