Skip to content

Commit

Permalink
πŸ› Fix Redis DSN scheme generation (#6790)
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo authored Nov 21, 2024
1 parent 2504277 commit a87de46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/settings-library/src/settings_library/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class RedisSettings(BaseCustomSettings):
def build_redis_dsn(self, db_index: RedisDatabase) -> str:
return str(
RedisDsn.build( # pylint: disable=no-member
scheme="redis",
scheme="rediss" if self.REDIS_SECURE else "redis",
username=self.REDIS_USER or None,
password=(
self.REDIS_PASSWORD.get_secret_value()
Expand Down

0 comments on commit a87de46

Please sign in to comment.