Skip to content

Commit 9c2b49a

Browse files
authored
Update lock.rst
Small grammar change.
1 parent 557006f commit 9c2b49a

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

166166
.. tip::
167167

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

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

0 commit comments

Comments
 (0)