We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce8502e commit 85955c6Copy full SHA for 85955c6
1 file changed
user_guide_src/source/libraries/locks.rst
@@ -27,6 +27,12 @@ support locks.
27
storage. The File handler is suitable for a single server. For multiple
28
application servers, use a shared handler such as Redis.
29
30
+.. important:: Locks are stored in the configured cache handler. Clearing or
31
+ flushing that cache storage, for example with ``cache()->clean()`` or a
32
+ Redis ``FLUSHDB``, may remove active locks. Avoid clearing shared lock
33
+ storage while lock-protected work is running, or use a dedicated cache
34
+ store for locks when that separation is important.
35
+
36
*************
37
Example Usage
38
0 commit comments