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

This commit is contained in:
GoEdgeLab
2022-04-20 18:41:53 +08:00
parent f39c59569a
commit d32d73a89f

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