取消IO保护

This commit is contained in:
刘祥超
2022-07-26 08:29:22 +08:00
parent 1181a0585b
commit 0f5f03c9ed
2 changed files with 14 additions and 11 deletions

View File

@@ -65,7 +65,8 @@ var sharedWritingFileKeyLocker = sync.Mutex{}
var maxOpenFiles = NewMaxOpenFiles()
const maxOpenFilesSlowCost = 500 * time.Microsecond // 0.5ms
const maxOpenFilesSlowCost = 5000 * time.Microsecond // 0.5ms
const protectingLoadWhenDump = false
// FileStorage 文件缓存
// 文件结构: