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

Add separate timeout for /health requests done by visor #683

Merged
merged 3 commits into from
Mar 4, 2021

Conversation

Darkren
Copy link
Contributor

@Darkren Darkren commented Feb 11, 2021

Did you run make format && make check?

Fixes #676

Changes:

  • Now /health requests done by the visor have separate timeout which is lower than for the hypervisor's /health request.

Copy link
Member

@jdknives jdknives left a comment

Choose a reason for hiding this comment

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

Good job. Just a small comment.

pkg/visor/rpc.go Outdated Show resolved Hide resolved
@jdknives
Copy link
Member

Attaching further logs here. We experience issues with the uptime tracker right now wherefore I used the opportunity to re-test this PR. We still get health timeouts and the page does not load consistently. Note that I reduced the inner timeout to 2 seconds for testing.

log-timeout-health-request.txt

Copy link
Member

@jdknives jdknives left a comment

Choose a reason for hiding this comment

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

Still not solved completely.

@jdknives jdknives merged commit 8d62138 into skycoin:develop Mar 4, 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.

2 participants