From a0546281de9d769fb9a32bd5e74d2e99374aa732 Mon Sep 17 00:00:00 2001 From: TedLau Date: Wed, 1 May 2024 13:53:12 +0800 Subject: [PATCH] Update distributed-lock-implementations.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 标示似乎应该是标识 --- docs/distributed-system/distributed-lock-implementations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/distributed-system/distributed-lock-implementations.md b/docs/distributed-system/distributed-lock-implementations.md index ddd0b93b..2d1ec40c 100644 --- a/docs/distributed-system/distributed-lock-implementations.md +++ b/docs/distributed-system/distributed-lock-implementations.md @@ -56,7 +56,7 @@ OK ``` - **lockKey**:加锁的锁名; -- **uniqueValue**:能够唯一标示锁的随机字符串; +- **uniqueValue**:能够唯一标识锁的随机字符串; - **NX**:只有当 lockKey 对应的 key 值不存在的时候才能 SET 成功; - **EX**:过期时间设置(秒为单位)EX 3 标示这个锁有一个 3 秒的自动过期时间。与 EX 对应的是 PX(毫秒为单位),这两个都是过期时间设置。