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(targets) reschedule resolve timer after resolving #8344

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

locao
Copy link
Contributor

@locao locao commented Jan 26, 2022

As ngx.timer.every was used, if resolving an address took longer than 1 sec, another resolving callback would be called, instead of waiting until the first one finish. With this change, a new timer will be scheduled only after the previous one has executed.

Note: this is the same as #8232, but rebased to be released with 2.7.1

@locao locao added this to the 2.7.1 milestone Jan 26, 2022
@locao locao merged commit 346ecdd into release/2.7.x Jan 26, 2022
@locao locao deleted the fix/reduce_amount_balancer_timers_2.7 branch January 26, 2022 19:33
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