There was an error while loading. Please reload this page.
1 parent eb64b4f commit bc44fd2Copy full SHA for bc44fd2
1 file changed
src/main.go
@@ -65,7 +65,8 @@ func (a *App) PutRecord(key []byte, rec Record) bool {
65
// *** Entry Point ***
66
67
func main() {
68
- http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 100
+ http.DefaultTransport.(*http.Transport).MaxIdleConns = 2500
69
+ http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 500
70
rand.Seed(time.Now().Unix())
71
72
port := flag.Int("port", 3000, "Port for the server to listen on")
0 commit comments