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

grpc-js: Fix double resolver calls in DNS resolver #2100

Conversation

murgatroid99
Copy link
Member

As pointed out in #2080 (comment), in some cases the backoff timer and next resolution timer could both trigger, causing double resolver attempts, double backoff timers, etc., which can then cause further proliferation of requests. So the fix here is to more consistently prevent new DNS requests while any DNS request is already running, and also clear timers before setting new ones.

@murgatroid99 murgatroid99 merged commit 0a9cf38 into grpc:@grpc/grpc-js@1.6.x Apr 20, 2022
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.

None yet

1 participant