Skip to content
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

[client] HTTP timeout must be larger than the consume timeout #214

Open
1 of 2 tasks
git-hulk opened this issue Apr 26, 2023 · 0 comments
Open
1 of 2 tasks

[client] HTTP timeout must be larger than the consume timeout #214

git-hulk opened this issue Apr 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@git-hulk
Copy link
Member

git-hulk commented Apr 26, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

Motivation

Currently, we didn't check if the HTTP timeout is larger than the consume timeout. the client will get the request canceled error if the consume timeout >= HTTP timeout and there's no job available. The root cause is HTTP client would close the client(timeout) before the server responds to the no job error.

image

Solution

Check if the HTTP timeout > consumes timeout when consuming.

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@git-hulk git-hulk added the enhancement New feature or request label Apr 26, 2023
@git-hulk git-hulk changed the title HTTP timeout must be larger than the consume timeout [] HTTP timeout must be larger than the consume timeout Apr 26, 2023
@git-hulk git-hulk changed the title [] HTTP timeout must be larger than the consume timeout [client] HTTP timeout must be larger than the consume timeout Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant