From 0df57017a3eb93cb785bf14593f8e44dfaf7f577 Mon Sep 17 00:00:00 2001 From: Freeze <42697182+zbzbzzz@users.noreply.github.com> Date: Fri, 27 Jan 2023 20:05:21 +0800 Subject: [PATCH] =?UTF-8?q?timeout=E5=B0=91=E4=BA=86=E4=B8=80=E4=B8=AAt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/distributed-system/distributed-lock.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/distributed-system/distributed-lock.md b/docs/distributed-system/distributed-lock.md index 8c0f4b77..9f3b4f78 100644 --- a/docs/distributed-system/distributed-lock.md +++ b/docs/distributed-system/distributed-lock.md @@ -105,7 +105,7 @@ Redisson 中的分布式锁自带自动续期机制,使用起来非常简单 ![Redisson 看门狗自动续期](./images/distributed-lock/distributed-lock-redisson-renew-expiration.png) -看门狗名字的由来于 `getLockWatchdogTimeou()` 方法,这个方法返回的是看门狗给锁续期的过期时间,默认为 30 秒([redisson-3.17.6](https://github.com/redisson/redisson/releases/tag/redisson-3.17.6))。 +看门狗名字的由来于 `getLockWatchdogTimeout()` 方法,这个方法返回的是看门狗给锁续期的过期时间,默认为 30 秒([redisson-3.17.6](https://github.com/redisson/redisson/releases/tag/redisson-3.17.6))。 ```java //默认 30秒,支持修改