Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add example database index to session #1658

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading