Add gomaxprocs default to NumCPUs() and update version
This commit is contained in:
@@ -79,6 +79,9 @@ func getSystemData() map[string]string {
|
||||
}
|
||||
|
||||
func main() {
|
||||
// enable GOMAXPROCS to default to number of CPUs
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
|
||||
// register all the commands
|
||||
registerCmd(lsCmd) // List contents of a bucket
|
||||
registerCmd(mbCmd) // make a bucket
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
// Version autogenerated
|
||||
var Version = "2015-06-11T04:16:07.806453642Z"
|
||||
var Version = "2015-06-12T02:05:16.449416257Z"
|
||||
|
||||
// getVersion -
|
||||
func getVersion() string {
|
||||
|
||||
Reference in New Issue
Block a user