Browse Source

Set idle connection pool size to 256.

No substantial benefit was observed to setting it higher, based on
local testing.
Rob Figueiredo 12 years ago
parent
commit
942a272140
1 changed files with 1 additions and 1 deletions
  1. 1 1
      go/src/hello/hello.go

+ 1 - 1
go/src/hello/hello.go

@@ -35,7 +35,7 @@ const (
 	WorldUpdate        = "UPDATE World SET randomNumber = ? where id = ?"
 	FortuneSelect      = "SELECT id, message FROM Fortune;"
 	WorldRowCount      = 10000
-	MaxConnectionCount = 5000
+	MaxConnectionCount = 256
 )
 
 var (