Sfoglia il codice sorgente

Merge pull request #322 from robfig/5000connections

Go - Increase idle connection pool to 5k
Patrick Falls 12 anni fa
parent
commit
c9f3896a78
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 = 100
+	MaxConnectionCount = 256
 )
 
 var (