diff options
author | 2023-05-05 22:08:09 +0100 | |
---|---|---|
committer | 2023-05-06 13:20:47 +0100 | |
commit | 12be2fdf771a1a25c2c135516746002154135dbf (patch) | |
tree | 108cbc37c7a2f89ae7cffeca4165ebc444b75317 /bot/__main__.py | |
parent | update env variables in "Attempt bot setup" stage (diff) |
use `SecretStr` for all secrets
Diffstat (limited to 'bot/__main__.py')
-rw-r--r-- | bot/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/__main__.py b/bot/__main__.py index 829819fb..934dc0a9 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -21,7 +21,7 @@ async def _create_redis_session() -> RedisSession: redis_session = RedisSession( host=constants.Redis.host, port=constants.Redis.port, - password=constants.Redis.password, + password=constants.Redis.password.get_secret_value(), max_connections=20, use_fakeredis=constants.Redis.use_fakeredis, global_namespace="bot", |