Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for selectPriority (0.09 sec)

  1. pkg/test/loadbalancersim/loadbalancer/weight.go

    			Weight:     1,
    		}
    	}
    }
    
    func PriorityWeightedConnectionFactory(selectPriority PrioritySelector, priorityWeightMap map[uint32]uint32) WeightedConnectionFactory {
    	return func(src *mesh2.Client, dest *mesh2.Node) *WeightedConnection {
    		// Select the priority for this node.
    		priority := selectPriority(src, dest)
    
    		// Get the weight for the priority.
    		weight := uint32(1)
    		if priorityWeightMap != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top