Skip to content

handletimeout ineffective!!! #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Isites opened this issue Aug 28, 2021 · 0 comments
Closed

handletimeout ineffective!!! #294

Isites opened this issue Aug 28, 2021 · 0 comments

Comments

@Isites
Copy link
Contributor

Isites commented Aug 28, 2021

Describe the bug

handletimeout ineffectived, when the actual execution time exceeds the handletime but does not exceed the remote call timeout

To Reproduce
1、set handletimeout 1500

image

2、sleep 2 seconds

image

simulate execution time with sleep func

** Version info **

  • go version go1.16.6 darwin/amd64

  • TarsGo v1.1.6

Expected behavior

get server invoke timeout error and cost close to handletimeout

Actual behavior

get unexcepet err and cost close to async-invoke-timeout

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants