aboutsummaryrefslogtreecommitdiff
path: root/weed/command/master.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/master.go')
-rw-r--r--weed/command/master.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/command/master.go b/weed/command/master.go
index 8c5efbb9f..16e343f77 100644
--- a/weed/command/master.go
+++ b/weed/command/master.go
@@ -65,6 +65,9 @@ func runMaster(cmd *Command, args []string) bool {
if *masterWhiteListOption != "" {
masterWhiteList = strings.Split(*masterWhiteListOption, ",")
}
+ if *volumeSizeLimitMB > 30*1000 {
+ glog.Fatalf("volumeSizeLimitMB should be smaller than 30000")
+ }
r := mux.NewRouter()
ms := weed_server.NewMasterServer(r, *mport, *metaFolder,