We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4202ee commit 3826710Copy full SHA for 3826710
components/lock.rst
@@ -145,7 +145,7 @@ job; if it's too long and the process crashes before calling the ``release()``
145
method, the resource will stay locked until the timeout::
146
147
// ...
148
- // create an expiring lock that lasts 30 seconds
+ // create an expiring lock that lasts 30 seconds (default is 300.0)
149
$lock = $factory->createLock('charts-generation', 30);
150
151
if (!$lock->acquire()) {
0 commit comments