Skip to content

Commit

Permalink
6 is sufficient
Browse files Browse the repository at this point in the history
Signed-off-by: Hongxin Liang <honnix@users.noreply.github.com>
  • Loading branch information
honnix committed Nov 6, 2023
1 parent 2d9c578 commit f7cb4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytestdlib/storage/stow_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (s *StowStore) ReadRaw(ctx context.Context, reference DataReference) (io.Re

if GetConfig().Limits.GetLimitMegabytes != 0 {
if sizeBytes > GetConfig().Limits.GetLimitMegabytes*MiB {
return nil, errors.Errorf(ErrExceedsLimit, "limit exceeded. %.8fmb > %vmb.", float64(sizeBytes)/float64(MiB), GetConfig().Limits.GetLimitMegabytes)
return nil, errors.Errorf(ErrExceedsLimit, "limit exceeded. %.6fmb > %vmb.", float64(sizeBytes)/float64(MiB), GetConfig().Limits.GetLimitMegabytes)
}
}

Expand Down

0 comments on commit f7cb4e7

Please sign in to comment.