Skip to content

Commit

Permalink
meta: fix FastGetSummary (#3374)
Browse files Browse the repository at this point in the history
  • Loading branch information
SandyXSD authored Mar 24, 2023
1 parent 7d5c50b commit 27c8b7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/meta/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ func (m *baseMeta) FastGetSummary(ctx Context, inode Ino, summary *Summary, recu
return 0
}
summary.Dirs++
summary.Size += uint64(align4K(0))

const concurrency = 50
dirs := []Ino{inode}
Expand Down

0 comments on commit 27c8b7a

Please sign in to comment.