From 5c644543d0ffac4d4aa63930fa2f0dbb183fc3dc Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Mon, 22 Dec 2014 15:59:56 -0600 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f7cbec9..7f91371 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,7 @@ Locking Algorithm * Set value in Redis if it does not exist * If it exists, wait up to 100 times until :timeout has been met -* Once waiting for lock has finished, either: -** Pessimistically throw an exception if not met -** Overwrite existing token with new value and assume ownership +* Pessimistically throw an exception if lock was not released and configured to do so +* Overwrite existing token with new value and assume ownership if configured to do so * Run block of code * Release lock if it contains the same value that it was set to