weichangdong edited a comment on issue #690: URL: https://github.com/apache/rocketmq-client-go/issues/690#issuecomment-879845185
``` SendAsync SendAsync message error: request timeout result: <nil> msgLen: 764 ctime: 1626257106588 relatedUid: ctx: context.Background.WithDeadline(2021-07-14 15:35:09.592028007 +0530 IST m=+3764.379185364 [2.999812347s]) ctxErr: context canceled ``` 使用了master的代码,panic没了,但是一直报错,但是消息并没有丢. 我觉得主要应该是最新的代码 加了 ``` -- 之前的 ctx, _ = context.WithTimeout(ctx, 3*time.Second) -- 最新的 var cancel context.CancelFunc ctx, cancel = context.WithTimeout(ctx, 3*time.Second) defer cancel() ``` 这是bug么? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
