diff --git a/internal/deploy/ipfs.go b/internal/deploy/ipfs.go index eed97ab..ab1d3eb 100644 --- a/internal/deploy/ipfs.go +++ b/internal/deploy/ipfs.go @@ -184,7 +184,7 @@ func (r *Runner) ipfsHost(ctx context.Context) error { // followScript installs and starts ipfs-follow's service and hourly timer. // PartGB is roughly how big each part of a publish is, in GB. -var PartGB = map[string]float64{"oci": 12.2, "packages": 3.7, "git": 0.05, "bin": 0.23} +var PartGB = map[string]float64{"oci": 11.7, "packages": 3.7, "git": 0.05, "bin": 0.23} func followScript(parts string) string { return `set -e diff --git a/internal/ui/layout_test.go b/internal/ui/layout_test.go index 9b60eb7..bb0d17e 100644 --- a/internal/ui/layout_test.go +++ b/internal/ui/layout_test.go @@ -103,7 +103,7 @@ func TestLayout(t *testing.T) { a.jump(a.index("Host")) hs := a.cur().(*hostScreen) hs.done, hs.log = true, []string{"installing IPFS v0.43.1 (from https://infamous.g0th.ir/.ipfs)", - "the server is downloading about 16.2 GB in the background and shares it as it arrives"} + "the server is downloading about 15.7 GB in the background and shares it as it arrives"} hs.statsFor = targetKey(hs.target()) hs.in, hs.out = []float64{0, 4e6, 9e6, 7e6, 10e6}, []float64{0, 0, 1e5, 3e5, 2e5} hs.stats = &deploy.HostStats{Installed: true, Active: true, Following: true, Parts: []string{"oci", "packages", "git", "bin"}, Peers: 3, diff --git a/internal/ui/testdata/layout/host-120x36.txt b/internal/ui/testdata/layout/host-120x36.txt index d5a1646..1499c07 100644 --- a/internal/ui/testdata/layout/host-120x36.txt +++ b/internal/ui/testdata/layout/host-120x36.txt @@ -17,7 +17,7 @@ │ ││ │ │ ││ ✓ hosting. It keeps going without interzone; enter sets it up again. │ │ ││ installing IPFS v0.43.1 (from https://infamous.g0th.ir/.ipfs) │ -│ ││ the server is downloading about 16.2 GB in the background and shares it as it │ +│ ││ the server is downloading about 15.7 GB in the background and shares it as it │ │ ││ arrives │ │ ││ │ │ ││ ◆ Hosting on this machine ──────────────────────────────────────────────────────────── │ diff --git a/internal/ui/testdata/layout/host-46x40.txt b/internal/ui/testdata/layout/host-46x40.txt index 371c77d..18122f1 100644 --- a/internal/ui/testdata/layout/host-46x40.txt +++ b/internal/ui/testdata/layout/host-46x40.txt @@ -19,7 +19,7 @@ ✓ hosting. It keeps going without interzone; installing IPFS v0.43.1 (from https://infamous.g0th.ir/.ipfs) - the server is downloading about 16.2 GB in + the server is downloading about 15.7 GB in the background and shares it as it arrives ◆ Hosting on this machine ──────────────────