diff --git a/internal/caches/storage_file.go b/internal/caches/storage_file.go index 9b4005c..3863ae1 100644 --- a/internal/caches/storage_file.go +++ b/internal/caches/storage_file.go @@ -65,7 +65,7 @@ var sharedWritingFileKeyLocker = sync.Mutex{} var maxOpenFiles = NewMaxOpenFiles(2) -const maxOpenFilesSlowCost = 1 * time.Microsecond +const maxOpenFilesSlowCost = 500 * time.Microsecond // 0.5ms // FileStorage 文件缓存 // 文件结构: