Skip to content

Commit bd610d3

Browse files
johnnypeckjaviereguiluz
authored andcommitted
Update lock.rst
Small grammar change.
1 parent 347e261 commit bd610d3

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)