Преглед изворни кода

Set idle connection pool size to 256.

No substantial benefit was observed to setting it higher, based on
local testing.
Rob Figueiredo пре 12 година
родитељ
комит
942a272140
1 измењених фајлова са 1 додато и 1 уклоњено
  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 (