Skip to content

Commit 0df5701

Browse files
authored
timeout少了一个t
1 parent 75721c4 commit 0df5701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/distributed-system/distributed-lock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Redisson 中的分布式锁自带自动续期机制,使用起来非常简单
105105

106106
![Redisson 看门狗自动续期](./images/distributed-lock/distributed-lock-redisson-renew-expiration.png)
107107

108-
看门狗名字的由来于 `getLockWatchdogTimeou()` 方法,这个方法返回的是看门狗给锁续期的过期时间,默认为 30 秒([redisson-3.17.6](https://github.com/redisson/redisson/releases/tag/redisson-3.17.6))。
108+
看门狗名字的由来于 `getLockWatchdogTimeout()` 方法,这个方法返回的是看门狗给锁续期的过期时间,默认为 30 秒([redisson-3.17.6](https://github.com/redisson/redisson/releases/tag/redisson-3.17.6))。
109109

110110
```java
111111
//默认 30秒,支持修改

0 commit comments

Comments
 (0)