mirror of https://github.com/v2ray/v2ray-core
format code
parent
3c946daf88
commit
8408b7735c
10
point.go
10
point.go
|
@ -92,11 +92,11 @@ func (vp *Point) Start() error {
|
||||||
|
|
||||||
return retry.Timed(100 /* times */, 100 /* ms */).On(func() error {
|
return retry.Timed(100 /* times */, 100 /* ms */).On(func() error {
|
||||||
err := vp.ich.Listen(vp.port)
|
err := vp.ich.Listen(vp.port)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
log.Warning("Point server started on port %d", vp.port)
|
log.Warning("Point server started on port %d", vp.port)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue