This reverts commit 500d18b6c6.
This commit is contained in:
Alessandro Ros 2025-06-03 20:27:53 +02:00 committed by GitHub
parent c055c13442
commit c21c969a8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 79 additions and 287 deletions

View file

@ -10,7 +10,6 @@ import (
"reflect"
"sort"
"sync"
"time"
"github.com/google/uuid"
@ -85,7 +84,6 @@ type Server struct {
RunOnConnectRestart bool
RunOnDisconnect string
ExternalCmdPool *externalcmd.Pool
TimeNow func() time.Time
Metrics serverMetrics
PathManager serverPathManager
Parent serverParent
@ -218,7 +216,6 @@ outer:
wg: &s.wg,
nconn: nconn,
externalCmdPool: s.ExternalCmdPool,
timeNow: s.TimeNow,
pathManager: s.PathManager,
parent: s,
}