bfs: 增加读写线程限制

This commit is contained in:
GoEdgeLab
2024-04-27 07:09:14 +08:00
parent 7da945690f
commit 337799cad7
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() {