storagenode/monitor: reduce space requirement to 0

We have added a bug with v0.31.7 and deploying it would kick out all the
storage nodes that are full. Easy fix is setting the requirment to 0.
That will allow them to still start up even if they are full.

Change-Id: Ie66f369952d929fcfd47f44f6e5e57eea8f51ff6
This commit is contained in:
littleskunk 2020-01-30 01:44:45 +01:00
parent 8c19855871
commit 81eddaa2c1
No known key found for this signature in database
GPG Key ID: E5C6B2C94E5BB7F9

View File

@ -29,7 +29,7 @@ var (
// Config defines parameters for storage node disk and bandwidth usage monitoring.
type Config struct {
Interval time.Duration `help:"how frequently Kademlia bucket should be refreshed with node stats" default:"1h0m0s"`
MinimumDiskSpace memory.Size `help:"how much disk space a node at minimum has to advertise" default:"500GB"`
MinimumDiskSpace memory.Size `help:"how much disk space a node at minimum has to advertise" default:"0B"`
MinimumBandwidth memory.Size `help:"how much bandwidth a node at minimum has to advertise" default:"500GB"`
}