-
-
Notifications
You must be signed in to change notification settings - Fork 527
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
Add single requestTimeout runner instead of setTimeout per request #650
Conversation
I will fix tests properly if you are happy to process with this solution :) |
This looks really good now, in my opinion. |
Thanks for the contribution! There will be a pre-release version out once the master build is done (https://dev.azure.com/tulios/kafkajs/_build/results?buildId=747&view=results). It should be version |
👍 Definitely will try to run it within next few week. Thanks :) |
WIP, open for discussions
Propose change to
requestTimeout
logic to have separate runner which will check every inflight request everyx
ms. This is more performant than previous implementation and allow to enable requestTimeout for every single request without sacrificing performance much