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

fix(relay): Add resource limits to CircuitReq to be set #5493

Merged
merged 7 commits into from
Jul 19, 2024

Conversation

Prabhat1308
Copy link
Contributor

@Prabhat1308 Prabhat1308 commented Jul 11, 2024

Description

Fixes #5466
Adds resource limits to CircuitReq to be set .

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

Prabhat1308 and others added 4 commits July 3, 2024 01:52
Signed-off-by: Prabhat1308 <[email protected]>
Rebase with new changes
Signed-off-by: Prabhat1308 <[email protected]>
Copy link
Contributor

@MarcoPolo MarcoPolo 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, and I'm pretty sure this fixes the issue after testing it with libp2p/test-plans#381.

I'll let @jxs merge this though.

@MarcoPolo MarcoPolo requested a review from jxs July 18, 2024 18:09
@MarcoPolo MarcoPolo changed the title fix(relay) : Add resource limits to CircuitReq to be set fix(relay): Add resource limits to CircuitReq to be set Jul 18, 2024
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 Marco for your review. @Prabhat1308 can you just run cargo fmt to address the lint failure?

protocols/relay/CHANGELOG.md Outdated Show resolved Hide resolved
@jxs jxs added the send-it label Jul 19, 2024
@mergify mergify bot merged commit a749a41 into libp2p:master Jul 19, 2024
72 checks passed
@Prabhat1308 Prabhat1308 deleted the fix/return-limit-to-dialer branch July 19, 2024 14:27
TimTinkers pushed a commit to unattended-backpack/rust-libp2p that referenced this pull request Sep 14, 2024
Fixes libp2p#5466
Adds resource limits to `CircuitReq` to be set .

Pull-Request: libp2p#5493.
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.

Circuit relay v2 should return limit to dialer
3 participants