You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kvserver: pass NodeCapacityProviderConfig to NewNodeCapacityProvider
Previously, NewNodeCapacityProvider took NodeCapacityProviderTestingKnobs
directly and handled the logic for picking refresh intervals internally. This
wasn't ideal, as it is preferred for configuration to be handled by the caller,
keeping NewNodeCapacityProvider focused on its core logic. This change moves
that logic to the caller, which now constructs the config with the appropriate
interval values. The default setting is now also closer to the server
configuration in pkg/base/config.go.
Epic: none
Release note: none
0 commit comments