Add gomaxprocs default to NumCPUs() and update version

This commit is contained in:
Harshavardhana
2015-06-11 19:07:04 -07:00
parent d18cee70ee
commit 7a3bfcfac5
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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
View File
@@ -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 {