Skip to content

Commit

Permalink
configure lock in lock.yaml not framework.yml (#1307)
Browse files Browse the repository at this point in the history
I followed the docs but the setting in framework.yml was overwritten by the default in lock.yaml
  • Loading branch information
KaiOnGitHub authored Feb 27, 2024
1 parent e745045 commit 1f96adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/hosting/performance/lock-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ By default, Symfony will use a local lock store. This means in multi-machine (cl
## Using Redis as a lock store

As Redis can already be used for [caching](./caches), [increment store](./increment), and [session storage](./session), you can also use that Redis host as a remote lock store.
To use Redis, create a `config/packages/framework.yml` file with the following content:
To use Redis, create a `config/packages/lock.yaml` file with the following content:

```yaml
framework:
Expand Down

0 comments on commit 1f96adb

Please sign in to comment.