Skip to content

Commit 650a4c8

Browse files
authored
Update redis-questions-01.md
1 parent 38d8eff commit 650a4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/database/redis/redis-questions-01.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ Redis 的定期删除过程是随机的(周期性地随机从设置了过期
729729

730730
Redis 7.2 版本的执行时间阈值是 **25ms**,过期 key 比例设定值是 **10%**
731731

732-
```java
732+
```c
733733
#define ACTIVE_EXPIRE_CYCLE_FAST_DURATION 1000 /* Microseconds. */
734734
#define ACTIVE_EXPIRE_CYCLE_SLOW_TIME_PERC 25 /* Max % of CPU to use. */
735735
#define ACTIVE_EXPIRE_CYCLE_ACCEPTABLE_STALE 10 /* % of stale keys after which

0 commit comments

Comments
 (0)