Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for priorityWeightMap (0.1 sec)

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

    	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 {
    			if w := priorityWeightMap[priority]; w > 0 {
    				weight = w
    			}
    		}
    
    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