mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-03 01:38:24 -04:00
Feat: increase idle timeout to 300s for udp split (#1903)
This commit is contained in:
parent
8f883040ab
commit
05df03edc0
@ -69,7 +69,7 @@ func (v *Dispatcher) getInboundRay(ctx context.Context, dest net.Destination) *c
|
|||||||
cancel()
|
cancel()
|
||||||
v.RemoveRay(dest)
|
v.RemoveRay(dest)
|
||||||
}
|
}
|
||||||
timer := signal.CancelAfterInactivity(ctx, removeRay, time.Second*4)
|
timer := signal.CancelAfterInactivity(ctx, removeRay, time.Second*300)
|
||||||
link, _ := v.dispatcher.Dispatch(ctx, dest)
|
link, _ := v.dispatcher.Dispatch(ctx, dest)
|
||||||
entry := &connEntry{
|
entry := &connEntry{
|
||||||
link: link,
|
link: link,
|
||||||
|
Loading…
Reference in New Issue
Block a user