修正文件缓存“慢”打开文件耗时阈值

This commit is contained in:
刘祥超
2022-04-20 18:41:53 +08:00
parent 0e5aef923d
commit 7225cef18e

View File

@@ -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 文件缓存
// 文件结构: