From 674f8ddd415ff4faf100ff35cf2511f84f60fea9 Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Wed, 10 May 2023 09:52:50 +0200 Subject: feat(server): add redis sentinel support (#5593) * feat(server): add redis sentinel support closes #5141 * Styling --------- Co-authored-by: Chocobozzz --- config/default.yaml | 9 ++++++++- config/production.yaml.example | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 14bb8d060..5d0eab4f5 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -65,8 +65,15 @@ database: redis: hostname: 'localhost' port: 6379 - auth: null + auth: null # Used by both standalone and sentinel db: 0 + sentinel: + enabled: false + enable_tls: false + master_name: '' + sentinels: + - hostname: '' + port: 26379 # SMTP server to send emails smtp: diff --git a/config/production.yaml.example b/config/production.yaml.example index db9c18cb8..5514f1af6 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -63,8 +63,15 @@ database: redis: hostname: 'localhost' port: 6379 - auth: null + auth: null # Used by both standalone and sentinel db: 0 + sentinel: + enabled: false + enable_tls: false + master_name: '' + sentinels: + - hostname: '' + port: 26379 # SMTP server to send emails smtp: -- cgit v1.2.3