Skip to content

Commit 1014b93

Browse files
authored
Update lock.rst
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.
1 parent c499c71 commit 1014b93

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)