Replies: 4 comments 4 replies
-
这300ms应该是其他业务逻辑的执行时间吧,1秒内没完成连接,然后清理定时器,将结果返回回去。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
你这个 |
Beta Was this translation helpful? Give feedback.
1 reply
-
用curl基本上误差只有几ms,还挺精准的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
cURL 是同步阻塞,通过外部定时打断的,所以精准。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
使用协程客户端 ,超时设置为1.0,实际执行时间能达到1300ms。
我看文档描述:这个是总超时,包括连接、发送、接收所有超时,那这多出来的300ms时间花在哪里了呢,DNS解析?如果我想要更精准的控制超时,还需要设置哪些参数呢
Beta Was this translation helpful? Give feedback.
All reactions