mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-06 07:06:53 +00:00
fine mux connection ping calculation, increase connection waiting time
This commit is contained in:
@@ -288,7 +288,7 @@ func (Self *ReceiveWindowQueue) waitPush() (err error) {
|
||||
//defer logs.Warn("wait push finish")
|
||||
t := Self.timeout.Sub(time.Now())
|
||||
if t <= 0 {
|
||||
t = time.Second * 10
|
||||
t = time.Minute * 5
|
||||
}
|
||||
timer := time.NewTimer(t)
|
||||
defer timer.Stop()
|
||||
|
Reference in New Issue
Block a user