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:
committed by
Florent Vilmart
parent
9abf17730f
commit
5082609937
@@ -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")
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user