Skip to content

Commit

Permalink
Update lock.rst
Browse files Browse the repository at this point in the history
incorrect assumption that $lock->getRemainingLifetime()'s unit was minutes instead of seconds
  • Loading branch information
gus3000 authored Jun 20, 2024
1 parent 2660de0 commit e3b2563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ Using the above methods, a robust code would be::
$lock->refresh();
}

// Perform the task whose duration MUST be less than 5 minutes
// Perform the task whose duration MUST be less than 5 seconds
}

.. caution::
Expand Down

0 comments on commit e3b2563

Please sign in to comment.