Skip to content

Commit 0cb7c16

Browse files
hmeknassijaviereguiluz
authored andcommitted
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 6d40352 commit 0cb7c16

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy