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

Consider remote instance as dead if it returns any status 4xx or 5xx #5256

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Nutomic
Copy link
Member

@Nutomic Nutomic commented Dec 11, 2024

No description provided.

@@ -617,6 +617,7 @@ async fn build_update_instance_form(
}
.await;

dbg!("reach here?");
Copy link
Collaborator

Choose a reason for hiding this comment

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

this probably wasn't supposed to be part of the PR

@cperrin88
Copy link

cperrin88 commented Dec 11, 2024

what happens in the case when the server is only temporarily down? Maybe using HTTP 410 as in the bug described might be a good idea. Then you can signal the intent for the server to be gone.

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.

3 participants