Skip to content

Commit 31982b7

Browse files
committed
Change fallback strategy to consistent-hashing
1 parent b7649be commit 31982b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/otel-allocator/allocation/strategy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func init() {
149149
panic(err)
150150
}
151151
err = Register(perNodeStrategyName, func(log logr.Logger, opts ...AllocationOption) Allocator {
152-
return newAllocator(log, newPerNodeStrategy(newleastWeightedStrategy()), opts...)
152+
return newAllocator(log, newPerNodeStrategy(newConsistentHashingStrategy()), opts...)
153153
})
154154
if err != nil {
155155
panic(err)

0 commit comments

Comments
 (0)