Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ba643e

Browse files
Remove RetryTillSaveStore class
1 parent be6a0ca commit 0ba643e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

components/lock.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,12 @@ can be created, pass ``true`` as the argument of the ``acquire()`` method. This
106106
is called a **blocking lock** because the execution of your application stops
107107
until the lock is acquired.
108108

109-
Some of the built-in ``Store`` classes support this feature. When they don't,
110-
they can be decorated with the ``RetryTillSaveStore`` class::
109+
Some of the built-in ``Store`` classes support this feature.
111110

112111
use Symfony\Component\Lock\LockFactory;
113112
use Symfony\Component\Lock\Store\RedisStore;
114-
use Symfony\Component\Lock\Store\RetryTillSaveStore;
115113

116114
$store = new RedisStore(new \Predis\Client('tcp://localhost:6379'));
117-
$store = new RetryTillSaveStore($store);
118115
$factory = new LockFactory($store);
119116

120117
$lock = $factory->createLock('notification-flush');

0 commit comments

Comments
 (0)