Allow numberOrBooleanParser to parse string correctly. Improve error message in numberParser. Add env variable PARSE_SERVER_CLUSTER for cluster. Add tests (#3034)

This commit is contained in:
Steven Shipton
2016-11-11 14:40:45 +00:00
committed by Florent Vilmart
parent 9abf17730f
commit 5082609937
3 changed files with 46 additions and 5 deletions

View File

@@ -201,6 +201,7 @@ export default {
action: booleanParser
},
"cluster": {
env: PARSE_SERVER_CLUSTER,
help: "Run with cluster, optionally set the number of processes default to os.cpus().length",
action: numberOrBoolParser("cluster")
},