From bd610d3ac0f42d8a0255d86cc5bc2b2a70a7f092 Mon Sep 17 00:00:00 2001 From: Johnny Peck Date: Fri, 15 Jan 2021 21:49:53 -0500 Subject: [PATCH] Update lock.rst Small grammar change. --- components/lock.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lock.rst b/components/lock.rst index 55ddcf377b3..7b2c131947d 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -158,7 +158,7 @@ method, the resource will stay locked until the timeout:: .. tip:: - To avoid letting the lock in a locking state, it's recommended to wrap the + To avoid leaving the lock in a locked state, it's recommended to wrap the job in a try/catch/finally block to always try to release the expiring lock. In case of long-running tasks, it's better to start with a not too long TTL and