Skip to content

Commit 20cc5f5

Browse files
committed
minor #19980 [Lock] Update lock.rst (gus3000)
This PR was merged into the 5.4 branch. Discussion ---------- [Lock] Update lock.rst Incorrect assumption that $lock->getRemainingLifetime()'s unit was minutes instead of seconds This typo is also present in versions 6.4 and 7.* of the documentation. Commits ------- e3b2563 Update lock.rst
2 parents 2660de0 + e3b2563 commit 20cc5f5

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)