Skip to content

Conversation

RolandSherwin
Copy link
Contributor

@RolandSherwin RolandSherwin commented Aug 11, 2025

Description

This commit aims to fix an infinite retry loop of failed mappings. We now have an exponential backoff and would retry any failed mappings upto 5 times before giving up.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

Copy link
Member

@jxs jxs left a comment

Choose a reason for hiding this comment

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

Hi, and thanks for this!
Overall looks good to me, left a question

@RolandSherwin RolandSherwin force-pushed the upnp_limit_failed_retries branch from fc36065 to 2608566 Compare August 26, 2025 01:53
@RolandSherwin RolandSherwin force-pushed the upnp_limit_failed_retries branch from 2608566 to ecc1153 Compare August 31, 2025 11:12
Copy link
Contributor

@ackintosh ackintosh left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Copy link
Member

@jxs jxs left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! And Thanks Akihito for the help with the review

@jxs jxs added the send-it label Sep 1, 2025
@mergify mergify bot merged commit aefbfbd into libp2p:master Sep 1, 2025
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants