From 9d670b33b369e650db602c3415d84d1dab3648e2 Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Wed, 19 Jun 2019 18:29:45 +0300 Subject: [PATCH] reduce expected disk size for storj-sim and testplanet (#2249) --- cmd/storj-sim/network.go | 4 ++-- internal/testplanet/planet.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/storj-sim/network.go b/cmd/storj-sim/network.go index 23eccd0cd..548b2c2de 100644 --- a/cmd/storj-sim/network.go +++ b/cmd/storj-sim/network.go @@ -427,8 +427,8 @@ func newNetwork(flags *Flags) (*Processes, error) { "--kademlia.operator.email", fmt.Sprintf("storage%d@mail.test", i), "--kademlia.operator.wallet", "0x0123456789012345678901234567890123456789", - "--storage2.monitor.minimum-disk-space", "25GB", - "--storage2.monitor.minimum-bandwidth", "25GB", + "--storage2.monitor.minimum-disk-space", "10GB", + "--storage2.monitor.minimum-bandwidth", "10GB", "--server.extensions.revocation=false", "--server.use-peer-ca-whitelist=false", diff --git a/internal/testplanet/planet.go b/internal/testplanet/planet.go index fd61dc6af..b7436f8a8 100644 --- a/internal/testplanet/planet.go +++ b/internal/testplanet/planet.go @@ -623,7 +623,7 @@ func (planet *Planet) newStorageNodes(count int, whitelistedSatelliteIDs []strin }, Storage: piecestore.OldConfig{ Path: "", // TODO: this argument won't be needed with master storagenodedb - AllocatedDiskSpace: 1500 * memory.GB, + AllocatedDiskSpace: 1 * memory.GB, AllocatedBandwidth: memory.TB, KBucketRefreshInterval: time.Hour,