We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2900e50 commit 1170a7cCopy full SHA for 1170a7c
lock.rst
@@ -181,9 +181,9 @@ To lock the default resource, autowire the lock using
181
.. caution::
182
183
The same instance of ``LockInterface`` won't block when calling ``acquire``
184
- multiple times. Inside the same process, when several services share the
185
- same instance of ``LockInterface``, they won't lock each other. When the
186
- same process run concurent tasks, inject the ``LockFactory`` instead.
+ multiple times inside the same process. When several services use the
+ same lock, inject the ``LockFactory`` instead to create a separate lock
+ instance for each service.
187
188
Locking a Dynamic Resource
189
--------------------------
0 commit comments