Skip to content

fix(healthcheck): only one_loop is needed in the passive health check report#4116

Merged
spacewander merged 2 commits into
apache:masterfrom
Ben0625:one_loop
Apr 26, 2021
Merged

fix(healthcheck): only one_loop is needed in the passive health check report#4116
spacewander merged 2 commits into
apache:masterfrom
Ben0625:one_loop

Conversation

@Ben0625

@Ben0625 Ben0625 commented Apr 23, 2021

Copy link
Copy Markdown
Contributor

Fix #4103

Pre-submission checklist:

  • [√] Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • [√] Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@spacewander spacewander changed the title only one_loop is needed instead of double loop fix(healthcheck): only one_loop is needed in the passive health check report Apr 23, 2021
Comment thread apisix/init.lua Outdated
end
if resp_status == status then
checker:report_http_status(api_ctx.balancer_ip,
port or api_ctx.balancer_port,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please keep the original indentation with space

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@Ben0625
You can create another commit in this branch to fix it, and push it again.

Signed-off-by: spacewander <[email protected]>
@spacewander
spacewander merged commit dba0176 into apache:master Apr 26, 2021
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.

bug: Multiple unhealthy HTTP increment if the size of passive.unhealthy.http_statuses is more than 1

4 participants