Skip to content

Commit 6346304

Browse files
committed
Update strategy.md
1 parent eedc752 commit 6346304

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎redis/module/strategy.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Redis 是可以对 key 设置过期时间的,因此需要有相应的机制将
2828

2929
- `set <key> <value> ex <n>` :设置键值对的时候,同时指定过期时间(精确到秒);
3030
- `set <key> <value> px <n>` :设置键值对的时候,同时指定过期时间(精确到毫秒);
31-
- `setex <key> <n> <valule>` :设置键值对的时候,同时指定过期时间(精确到秒)。
31+
- `setex <key> <n> <value>` :设置键值对的时候,同时指定过期时间(精确到秒)。
3232

3333
如果你想查看某个 key 剩余的存活时间,可以使用 `TTL <key>` 命令。
3434

0 commit comments

Comments
 (0)