Skip to content

Commit e3b2563

Browse files
authored
Update lock.rst
incorrect assumption that $lock->getRemainingLifetime()'s unit was minutes instead of seconds
1 parent 2660de0 commit e3b2563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/lock.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ Using the above methods, a robust code would be::
788788
$lock->refresh();
789789
}
790790

791-
// Perform the task whose duration MUST be less than 5 minutes
791+
// Perform the task whose duration MUST be less than 5 seconds
792792
}
793793

794794
.. caution::

0 commit comments

Comments
 (0)