From 721aa63d8c4fc25b3054682b52105c8acc32a56b Mon Sep 17 00:00:00 2001 From: Antoine Makdessi Date: Tue, 2 Aug 2022 22:24:36 +0200 Subject: [PATCH] [Lock] Add reference tip for the InMemoryStore lock --- components/lock.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/lock.rst b/components/lock.rst index 6660b9c9965..1c141e16e73 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -667,6 +667,14 @@ PHP process is terminated:: Zookeeper does not require a TTL as the nodes used for locking are ephemeral and die when the PHP process is terminated. +InMemoryStore +~~~~~~~~~~~~~ + +.. tip:: + + An ``InMemoryStore`` is available for saving lock in memory during a process, + and can be useful for testing. + Reliability -----------