Skip to content

Commit 99a2ad1

Browse files
author
Justin Azoff
committed
decrease default connection count
1 parent a4f4028 commit 99a2ad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func main() {
248248
flag.StringVar(&addr, "addr", "0.0.0.0", "Address to listen on")
249249
flag.IntVar(&port, "port", 9000, "Port to listen on")
250250
flag.StringVar(&target, "target", "127.0.0.1:9999", "Address to proxy to. separate multiple with comma")
251-
flag.IntVar(&connections, "connections", 16, "Number of outbound connections to make to each target")
251+
flag.IntVar(&connections, "connections", 4, "Number of outbound connections to make to each target")
252252
flag.Parse()
253253
targets := strings.Split(target, ",")
254254
err := listenAndProxy(addr, port, targets, connections)

0 commit comments

Comments
 (0)