Skip to content

Commit 63c54c5

Browse files
committed
minor #21206 [Lock] Document what values to use to activate the Lock component NullStore and InMemoryStore (hmeknassi)
This PR was submitted for the 7.3 branch but it was merged into the 7.2 branch instead. Discussion ---------- [Lock] Document what values to use to activate the Lock component NullStore and InMemoryStore Adds a clarification in the Lock component documentation about the the values to use for the env variable LOCK_DSN in order to activate the NullStore and the InMemoryStore. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- 0cb7c16 Update lock.rst
2 parents 6d40352 + 0cb7c16 commit 63c54c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/lock.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,8 @@ Store Scope Blocking Ex
405405

406406
Symfony includes two other special stores that are mostly useful for testing:
407407
``InMemoryStore``, which saves locks in memory during a process, and ``NullStore``,
408-
which doesn't persist anything.
408+
which doesn't persist anything. To activate either one, simply set the ``LOCK_DSN`` to
409+
``null`` or ``in-memory``.
409410

410411
.. versionadded:: 7.2
411412

0 commit comments

Comments
 (0)