Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetrergeru committed Nov 13, 2024
1 parent da94a7e commit 51eeed4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ func (config *RedisConfig) GetSettings() redis.DatabaseConfig {
SentinelUsername: config.SentinelUsername,
SentinelPassword: config.SentinelPassword,
MaxRetries: config.MaxRetries,
MinRetryBackoff: to.Duration(config.MinRetryBackoff),
MaxRetryBackoff: to.Duration(config.MaxRetryBackoff),
MetricsTTL: to.Duration(config.MetricsTTL),
DialTimeout: to.Duration(config.DialTimeout),
ReadTimeout: to.Duration(config.ReadTimeout),
Expand Down
2 changes: 2 additions & 0 deletions local/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
redis:
addrs: "redis:6379"
metrics_ttl: 3h
min_retry_backoff: 1s
max_retry_backoff: 10s
telemetry:
graphite:
enabled: true
Expand Down

0 comments on commit 51eeed4

Please sign in to comment.