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

cmd/bsky-webhook: make dial and login errors non-fatal #6

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

creachadair
Copy link
Member

Rather than fail the program when a dial or login to Bluesky fails, report the
error back to the server loop and let it retry. We might want to eventually
give up if it fails for "long enough", but for now this will help work around
transient service errors, downtime, etc.

Rather than fail the program when a dial or login to Bluesky fails, report the
error back to the server loop and let it retry. We might want to eventually
give up if it fails for "long enough", but for now this will help work around
transient service errors, downtime, etc.
@creachadair creachadair requested a review from Erisa November 14, 2024 21:43
Copy link
Member

@Erisa Erisa left a comment

Choose a reason for hiding this comment

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

Makes sense to me. I'd also eventually like to run the jetstream and api clients more separately so that an outage of one doesn't cause the other to keep looping also.

@creachadair creachadair merged commit 55aaade into main Nov 15, 2024
1 check passed
@creachadair creachadair deleted the mjf/nonfatal branch November 15, 2024 01:25
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