mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
limit the number of connections to single host
This commit is contained in:
parent
e3f4eab5ac
commit
61da4a1001
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import (
|
|||
"fmt"
|
||||
"io"
|
||||
"math/rand"
|
||||
"net/http"
|
||||
"os"
|
||||
"os/signal"
|
||||
"path/filepath"
|
||||
|
|
@ -34,6 +35,7 @@ const (
|
|||
)
|
||||
|
||||
func main() {
|
||||
http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 64
|
||||
m := NewMain()
|
||||
fmt.Fprintf(m.Stderr, "Pilosa %s\n", Build)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue