]> git.ipfire.org Git - ipfire.org.git/commitdiff
cache: Do not decode responses
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Oct 2023 14:59:50 +0000 (14:59 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Oct 2023 14:59:50 +0000 (14:59 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/cache.py

index 19f35de52749ea4552ed4eb10871a2d85009c2cf..40da2ac27e36dd0fad601b9f993d42f1bed28c61 100644 (file)
@@ -18,7 +18,7 @@ class Cache(object):
 
                # Create a connection pool
                self.pool = redis.asyncio.connection.ConnectionPool.from_url(
-                       "redis://localhost:6379/0", decode_responses=True,
+                       "redis://localhost:6379/0",
                )
 
        async def connection(self, *args, **kwargs):