mirror of
https://github.com/DullJZ/s3-balance.git
synced 2026-09-06 00:06:38 +08:00
Remove consistent hash
This commit is contained in:
@@ -44,7 +44,7 @@ type BucketConfig struct {
|
||||
|
||||
// BalancerConfig 负载均衡配置
|
||||
type BalancerConfig struct {
|
||||
Strategy string `yaml:"strategy"` // 负载均衡策略: "round-robin", "least-space", "weighted", "consistent-hash"
|
||||
Strategy string `yaml:"strategy"` // 负载均衡策略: "round-robin", "least-space", "weighted"
|
||||
HealthCheckPeriod time.Duration `yaml:"health_check_period"` // 健康检查周期
|
||||
UpdateStatsPeriod time.Duration `yaml:"update_stats_period"` // 统计更新周期
|
||||
RetryAttempts int `yaml:"retry_attempts"` // 重试次数
|
||||
|
||||
Reference in New Issue
Block a user