Skip to content

Comments

feat: Homeserver Observer#5

Merged
SeverinAlexB merged 1 commit intomasterfrom
homeserver-observer
Dec 18, 2025
Merged

feat: Homeserver Observer#5
SeverinAlexB merged 1 commit intomasterfrom
homeserver-observer

Conversation

@SeverinAlexB
Copy link
Collaborator

Adds a background task to homegate that continuously calls the homeserver and crashes homegate in case the homeserver is unreachable. This is to prevent handing out LN/SMS verifications without being able to generate a signup token.

@SeverinAlexB SeverinAlexB requested a review from 86667 December 18, 2025 15:13
Copy link
Contributor

@86667 86667 left a comment

Choose a reason for hiding this comment

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

This is fine, it would probably actually be cheaper though to do the homeserver check before creating a verification session, ie in /sms_verification/send_code and /ln_verification. This would also catch failed homeservers more consistently as there wouldnt be up to a 10s gap

@SeverinAlexB SeverinAlexB merged commit c737513 into master Dec 18, 2025
2 checks passed
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