From: Michael Tremer Date: Wed, 25 Oct 2023 14:59:50 +0000 (+0000) Subject: cache: Do not decode responses X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b73b7c84c05364494164431e1b8fad9b78faa19;p=ipfire.org.git cache: Do not decode responses Signed-off-by: Michael Tremer --- diff --git a/src/backend/cache.py b/src/backend/cache.py index 19f35de5..40da2ac2 100644 --- a/src/backend/cache.py +++ b/src/backend/cache.py @@ -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):