mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-03 06:40:25 +08:00
优化缓存索引代码
This commit is contained in:
@@ -106,7 +106,7 @@ func (this *KVListFileStore) ExistItem(hash string) (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
return item.ExpiresAt >= fasttime.NewFastTime().Unix(), nil
|
||||
return item.ExpiresAt >= fasttime.Now().Unix(), nil
|
||||
}
|
||||
|
||||
func (this *KVListFileStore) ExistQuickItem(hash string) (bool, error) {
|
||||
|
||||
Reference in New Issue
Block a user