mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Reimagining memory settings cli input
This commit is contained in:
@@ -74,7 +74,7 @@ func Start(maxSize uint64, expiration time.Duration) (chan<- string, <-chan erro
|
||||
memory.shutdown = false
|
||||
|
||||
switch {
|
||||
case maxSize == 0:
|
||||
case maxSize <= 0:
|
||||
memory.maxSize = 9223372036854775807
|
||||
case maxSize > 0:
|
||||
memory.maxSize = maxSize
|
||||
|
||||
Reference in New Issue
Block a user