From 7a7ac9be66cb06da9579293d13ac44692cbf12f0 Mon Sep 17 00:00:00 2001 From: Ahmed TAILOULOUTE Date: Mon, 7 Oct 2019 00:03:12 +0200 Subject: [PATCH] Update lock.rst --- components/lock.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lock.rst b/components/lock.rst index 09caa86fb96..79ef3541ed0 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -356,7 +356,7 @@ accomplished, then the lock can be released by the store and acquired by someone else. The ``Lock`` provides several methods to check its health. The ``isExpired()`` -method checks whether or not it lifetime is over and the ``getRemainingLifetime()`` +method checks whether or not its lifetime is over and the ``getRemainingLifetime()`` method returns its time to live in seconds. Using the above methods, a more robust code would be::