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

feat: add pubsub responder window #1180

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

stephhuynh18
Copy link
Contributor

@stephhuynh18 stephhuynh18 commented Dec 8, 2023

We have gotten into a scenario where we were receiving anchor status requests for really old streams/cid combos. In light of this as a safeguard lets only respond to anchors happening in the last three months. Though this is configurable so can be easily changed.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fd425f6) 81.67% compared to head (c328dd4) 81.63%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1180      +/-   ##
===========================================
- Coverage    81.67%   81.63%   -0.04%     
===========================================
  Files           46       46              
  Lines         1801     1808       +7     
  Branches       276      279       +3     
===========================================
+ Hits          1471     1476       +5     
- Misses         330      332       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@3benbox 3benbox left a comment

Choose a reason for hiding this comment

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

LGTM

@stephhuynh18 stephhuynh18 merged commit cff4bf8 into develop Dec 8, 2023
6 checks passed
@stephhuynh18 stephhuynh18 deleted the feat/add-pubsub-responder-window branch December 8, 2023 20:03
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.

3 participants