diff --git a/httpgo.go b/httpgo.go index 5f90d95..f736ab2 100644 --- a/httpgo.go +++ b/httpgo.go @@ -66,10 +66,10 @@ func genRecords(size string) ([]Record, error) { return nil, err } if suffix == "MB" { - total *= 1024 + total *= 1000 } - if suffix == "BB" { - total *= 1024 * 1024 + if suffix == "GB" { + total *= 1000 * 1000 } records = genNRecords(total) return records, nil