Skip to content

Commit

Permalink
fix: the number of connections is too small
Browse files Browse the repository at this point in the history
  • Loading branch information
igoogolx committed Jul 5, 2024
1 parent 3193c72 commit 208c69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tunnel/statistic/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
var DefaultManager *Manager

func init() {
cache, err := lru.NewWithEvict[string, tracker](128, func(key string, value tracker) {
cache, err := lru.NewWithEvict[string, tracker](256, func(key string, value tracker) {
log.Infoln(log.FormatLog(log.ExecutorPrefix, "close connection on evicted: "))
err := value.Close()
if err != nil {
Expand Down

0 comments on commit 208c69c

Please sign in to comment.