mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 00:47:51 -05:00
extend wait
This commit is contained in:
parent
02178afaff
commit
70f73049a6
@ -96,7 +96,7 @@ func (this *InboundDetourHandlerDynamic) refresh() error {
|
|||||||
delete(this.portsInUse, ich.Port())
|
delete(this.portsInUse, ich.Port())
|
||||||
ich.Close()
|
ich.Close()
|
||||||
|
|
||||||
err := retry.Timed(100 /* times */, 100 /* ms */).On(func() error {
|
err := retry.Timed(100 /* times */, 1000 /* ms */).On(func() error {
|
||||||
err := ich.Listen(port)
|
err := ich.Listen(port)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Point: Failed to start inbound detour on port ", port, ": ", err)
|
log.Error("Point: Failed to start inbound detour on port ", port, ": ", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user