aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Boris Muratov <[email protected]>2022-08-14 23:02:30 +0300
committerGravatar GitHub <[email protected]>2022-08-14 23:02:30 +0300
commite1967b58b859578b1702d873cbfa737ea3b2feaa (patch)
tree27dbe356fd31ce45c5bee6eea958e42eca836620
parentMerge pull request #2229 from python-discord/py3.10-rediscache (diff)
parentGlobally decode binary responses from redis to strings (diff)
Merge pull request #2249 from python-discord/redis-fix
Globally decode binary responses from redis to strings
-rw-r--r--bot/__main__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/__main__.py b/bot/__main__.py
index e0d2e6ad5..02af2e9ef 100644
--- a/bot/__main__.py
+++ b/bot/__main__.py
@@ -26,6 +26,7 @@ async def _create_redis_session() -> RedisSession:
max_connections=20,
use_fakeredis=constants.Redis.use_fakeredis,
global_namespace="bot",
+ decode_responses=True,
)
try:
return await redis_session.connect()