fix(session): enable JSON serialization for Valkey sessions
Build and Push Docker Container / build-and-push (push) Successful in 4m55s

- Set SESSION_REDIS_JSON for the Redis-backed session configuration.
- Match session serialization to the client's decoded string responses.
- Leave the fallback session backend unchanged.
This commit is contained in:
2026-10-24 00:47:39 +02:00
parent 6514ba16f6
commit 962fa95f7c
+1
View File
@@ -61,6 +61,7 @@ if os.getenv("VALKEY_HOST", None) is not None:
db=os.getenv('VALKEY_DB', 0),
decode_responses=True,
),
SESSION_REDIS_JSON=True,
)
else:
app.config.from_mapping(