<
从版本< 20.1 >
xu yang编辑
在2022/04/27 13:57上
到版本
xu yang编辑
在2022/04/27 14:00上
>
修改评论 该版本没有评论

Summary

Details

Page properties
Content
... ... @@ -63,7 +63,7 @@
63 63  endif
64 64  
65 65  if(服务器正在启动中)then(yes)
66 -:过期时间的table可能没加载(同步)完全,这时直接返回0;
66 +:过期时间的table可能没完全加载,这时直接返回0;
67 67  stop
68 68  endif
69 69  
... ... @@ -70,8 +70,8 @@
70 70  if(当前环境是从服务器)then(yes)
71 71  :对于从服务器无需删除过期key, 直接计算过期时间和当前时间的关系并返回;
72 72  note left
73 -过期时间 <= 当前时间 : 已经过期
74 -过期时间 > 当前时间 : 没有过期
73 +过期时间 <= 当前时间,返回1 : 已经过期
74 +过期时间 > 当前时间,返回0 : 没有过期
75 75  endnote
76 76  stop
77 77  endif