bfs: 增加读写线程限制

This commit is contained in:
刘祥超
2024-04-27 07:09:14 +08:00
parent 8c044faace
commit 04007bf8f1
5 changed files with 121 additions and 13 deletions

View File

@@ -4,7 +4,6 @@ package bfs
type BlockFileOptions struct {
BytesPerSync int64
MaxOpenFiles int // TODO 需要实现主要用于OpenFileReader
}
func (this *BlockFileOptions) EnsureDefaults() {