feat(platform): support redis sentinel for failover

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-21 23:37:48 +01:00
1 parent dbae2870bc
commit 2bd3d0a18e
5 files changed
+110 -13

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ func Connect(ctx context.Context, c config.Common, log *slog.Logger) (*Deps, err
if d.DB, err = OpenPostgres(ctx, c.DatabaseURL); err != nil {
return nil, err
}
if d.Redis, err = OpenRedis(ctx, c.RedisURL); err != nil {
if d.Redis, err = OpenRedis(ctx, c); err != nil {
d.Close()
return nil, err
}