Skip to content

Commit

Permalink
fix: storiface: Make FSOverhead numbers more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Apr 13, 2022
1 parent 84470e9 commit b4bc00a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extern/sector-storage/storiface/filetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ var FSOverheadSeal = map[SectorFileType]int{ // 10x overheads
var FsOverheadFinalized = map[SectorFileType]int{
FTUnsealed: FSOverheadDen,
FTSealed: FSOverheadDen,
FTUpdate: FSOverheadDen * 2, // XXX: we should clear the update cache on Finalize???
FTUpdateCache: FSOverheadDen,
FTCache: 2,
FTUpdate: FSOverheadDen,
FTUpdateCache: 1,
FTCache: 1,
}

type SectorFileType int
Expand Down

0 comments on commit b4bc00a

Please sign in to comment.