优化缓存索引代码

This commit is contained in:
GoEdgeLab
2024-03-31 11:47:50 +08:00
parent 0c227892b0
commit 841e04775c

View File

@@ -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) {