From 1d427a042f226edcea50ddd1894c1dad1efcdbab Mon Sep 17 00:00:00 2001 From: Shyim Date: Mon, 20 Jan 2025 16:01:14 +0100 Subject: [PATCH] feat: add example database index to session (#1658) --- guides/hosting/performance/session.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/hosting/performance/session.md b/guides/hosting/performance/session.md index 8b4001014..421083fc8 100644 --- a/guides/hosting/performance/session.md +++ b/guides/hosting/performance/session.md @@ -17,7 +17,7 @@ By default, Shopware uses the settings configured in PHP. You can reconfigure th ```ini session.save_handler = redis -session.save_path = "tcp://host:6379" +session.save_path = "tcp://host:6379?database=0" ``` Please refer to the official [PhpRedis documentation](https://github.com/phpredis/phpredis#php-session-handler) for all possible options. @@ -30,7 +30,7 @@ If you don't have access to the php.ini configuration, you can configure it dire # config/packages/redis.yml framework: session: - handler_id: "redis://host:port" + handler_id: "redis://host:port/0" ``` ### Redis configuration