Skip to content

Commit db88c69

Browse files
committed
minor symfony#14839 Grammer fix (johnnypeck)
This PR was submitted for the 5.2 branch but it was merged into the 4.4 branch instead. Discussion ---------- Grammer fix Small grammar change. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- bd610d3 Update lock.rst
2 parents 347e261 + bd610d3 commit db88c69

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
@@ -158,7 +158,7 @@ method, the resource will stay locked until the timeout::
158158

159159
.. tip::
160160

161-
To avoid letting the lock in a locking state, it's recommended to wrap the
161+
To avoid leaving the lock in a locked state, it's recommended to wrap the
162162
job in a try/catch/finally block to always try to release the expiring lock.
163163

164164
In case of long-running tasks, it's better to start with a not too long TTL and

0 commit comments

Comments
 (0)