watermelo commented on a change in pull request #56:
URL: https://github.com/apache/dubbo-getty/pull/56#discussion_r611065297



##########
File path: client.go
##########
@@ -170,7 +171,7 @@ func (c *client) dialTCP() Session {
                }
 
                log.Infof("net.DialTimeout(addr:%s, timeout:%v) = error:%+v", 
c.addr, connectTimeout, perrors.WithStack(err))
-               <-wheel.After(connectInterval)
+               <-gxtime.After(connectInterval)

Review comment:
       `gxtime.After` 异常阻塞,影响重连,这个场景使用 `time.After` 可便于维护,1.14 对 time 有优化。




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to