Skip to content

Commit

Permalink
feat: add example database index to session
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored Jan 20, 2025
1 parent 616f626 commit 080efe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/hosting/performance/session.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 080efe8

Please sign in to comment.