Skip to content

Commit

Permalink
Change fallback strategy to consistent-hashing
Browse files Browse the repository at this point in the history
  • Loading branch information
lhp-nemlig committed Nov 21, 2024
1 parent b7649be commit 31982b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/otel-allocator/allocation/strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func init() {
panic(err)
}
err = Register(perNodeStrategyName, func(log logr.Logger, opts ...AllocationOption) Allocator {
return newAllocator(log, newPerNodeStrategy(newleastWeightedStrategy()), opts...)
return newAllocator(log, newPerNodeStrategy(newConsistentHashingStrategy()), opts...)
})
if err != nil {
panic(err)
Expand Down

0 comments on commit 31982b7

Please sign in to comment.