优化缓存索引代码

This commit is contained in:
刘祥超
2024-03-31 11:47:50 +08:00
parent 98441ccd3a
commit 4d88629707

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