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

[FIX] change transport.send() to not return a promise #312

Merged
merged 4 commits into from
May 26, 2022
Merged

Conversation

aricart
Copy link
Member

@aricart aricart commented May 25, 2022

Another unhandled promise on a K8S environment during the connect/ping exchange an EPIPE was getting generated because of aggressive throttling on resource limits (100 millis of a CPU given to the process).

Verified the change with the help of @arjenvdhave who was kind enough to test and reproduce in his environment.

See #289 (comment)

@aricart aricart requested a review from kozlovic May 25, 2022 19:13
@aricart aricart temporarily deployed to CI May 25, 2022 21:33 Inactive
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…id, and allow dequeue to reject it, as that is the only place where we wait for the socket write to complete, an error there is only logged if debug is enabled.
@aricart aricart temporarily deployed to CI May 26, 2022 17:19 Inactive
@aricart aricart requested a review from kozlovic May 26, 2022 17:20
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aricart aricart merged commit bae23ac into main May 26, 2022
@aricart aricart deleted the send-change branch May 26, 2022 18:31
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

Successfully merging this pull request may close these issues.

2 participants