浏览代码

go: Remove charset request, up connection count from 80 to 100.

Daniel Theophanes 12 年之前
父节点
当前提交
1b2d6169dc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      go/src/hello/hello.go

+ 2 - 2
go/src/hello/hello.go

@@ -29,11 +29,11 @@ type Fortune struct {
 }
 
 const (
-	ConnectionString   = "benchmarkdbuser:benchmarkdbpass@tcp(localhost:3306)/hello_world?charset=utf8"
+	ConnectionString   = "benchmarkdbuser:benchmarkdbpass@tcp(localhost:3306)/hello_world"
 	WorldSelect        = "SELECT id, randomNumber FROM World where id = ?"
 	FortuneSelect      = "SELECT id, message FROM Fortune;"
 	WorldRowCount      = 10000
-	MaxConnectionCount = 80
+	MaxConnectionCount = 100
 )
 
 var (