Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1356f60

Browse filesBrowse files
committed
minor #15382 [Lock] Remove note about sharing the key (lyrixx)
This PR was merged into the 4.4 branch. Discussion ---------- [Lock] Remove note about sharing the key cc `@jderusse` BTW: we say the opposing above in the doc : https://symfony.com/doc/4.4/components/lock.html#serializing-locks Commits ------- 2d96ae0 [Lock] Remove note about sharing the key
2 parents 53b234d + 2d96ae0 commit 1356f60
Copy full SHA for 1356f60

File tree

Expand file treeCollapse file tree

1 file changed

+1
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-6
lines changed

‎components/lock.rst

Copy file name to clipboardExpand all lines: components/lock.rst
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -486,12 +486,7 @@ Remote stores (:ref:`MemcachedStore <lock-store-memcached>`,
486486
:ref:`ZookeeperStore <lock-store-zookeeper>`) use a unique token to recognize
487487
the true owner of the lock. This token is stored in the
488488
:class:`Symfony\\Component\\Lock\\Key` object and is used internally by
489-
the ``Lock``, therefore this key must not be shared between processes (session,
490-
caching, fork, ...).
491-
492-
.. caution::
493-
494-
Do not share a key between processes.
489+
the ``Lock``.
495490

496491
Every concurrent process must store the ``Lock`` in the same server. Otherwise two
497492
different machines may allow two different processes to acquire the same ``Lock``.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.