-
Notifications
You must be signed in to change notification settings - Fork 128
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
Detect when connection to dcrd is not available and display outage http view #356
Comments
Currently a lost dcrd connection is bad news and there is currently a PR to disable autoreconnect: #1130 |
@chappjc, how do we want this to be? A mini banner with a message on the UI and a message to API consumers? |
I'd say something down at the bottom near the red/green indicator. Maybe orange with next next to it. |
Okay, then how about API consumers? |
I'd have to check, but I think the "ready" flag already handles this. |
It should but I don't think it is set when we fail to update connections(which will fail if the node is disconnected). I'm thinking https://github.com/decred/dcrdata/blob/master/cmd/dcrdata/internal/api/apiroutes.go#L166-#L200 |
When connection to dcrd is lost or unavailable, display a msg to web visitors about an outage.
The text was updated successfully, but these errors were encountered: