Skip to content

fix: re-enqueue failed info publish request #1300

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

rolznz
Copy link
Contributor

@rolznz rolznz commented May 7, 2025

partial workaround for #1290
part of #1212

@rolznz rolznz requested review from bumi, frnandu and im-adithya May 7, 2025 03:52
Copy link
Contributor

@frnandu frnandu left a comment

Choose a reason for hiding this comment

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

The only way this might fail is if between consuming the element from nip47InfoPublishQueue and calling svc.PublishNip47Info the relay disconnects for some reason and it doesn't manage to re-enqueue.
But the chances of that happening are pretty low, so utACK.

@rolznz rolznz merged commit 6300c5d into master May 8, 2025
11 checks passed
@rolznz rolznz deleted the fix/re-enqueue-info-publish-request branch May 8, 2025 13:22
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