Skip to content

Commit

Permalink
feat: allow more connections
Browse files Browse the repository at this point in the history
  • Loading branch information
igoogolx committed Oct 19, 2023
1 parent d1dcf38 commit d7746b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/tunnel/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

var (
tcpQueue = make(chan conn.TcpConnContext, 200)
tcpQueue = make(chan conn.TcpConnContext, 1024)
)

func TcpQueue() chan conn.TcpConnContext {
Expand Down
2 changes: 1 addition & 1 deletion internal/tunnel/udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

var (
udpQueue = make(chan conn.UdpConnContext, 200)
udpQueue = make(chan conn.UdpConnContext, 1024)
)

func UdpQueue() chan conn.UdpConnContext {
Expand Down

0 comments on commit d7746b7

Please sign in to comment.