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

Attempt to address repeated puts #170

Merged
merged 3 commits into from
Apr 9, 2024
Merged

Attempt to address repeated puts #170

merged 3 commits into from
Apr 9, 2024

Conversation

decentralgabe
Copy link
Member

  • add a new cache check to make sure duplicate puts don't pile up
  • increased the dht rate limiter limits
  • add methods to instrument total num of records

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 54.20561% with 49 lines in your changes are missing coverage. Please review.

Project coverage is 55.48%. Comparing base (f08a311) to head (fd58db6).

Files Patch % Lines
impl/pkg/service/pkarr.go 10.00% 17 Missing and 1 partial ⚠️
impl/pkg/pkarr/record.go 0.00% 10 Missing ⚠️
impl/pkg/storage/db/postgres/postgres.go 52.94% 4 Missing and 4 partials ⚠️
impl/pkg/dht/dht.go 33.33% 6 Missing ⚠️
impl/integrationtest/main.go 0.00% 3 Missing ⚠️
impl/pkg/server/server.go 50.00% 1 Missing and 2 partials ⚠️
impl/pkg/storage/db/bolt/pkarr.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
- Coverage   55.63%   55.48%   -0.15%     
==========================================
  Files          29       29              
  Lines        2245     2314      +69     
==========================================
+ Hits         1249     1284      +35     
- Misses        879      908      +29     
- Partials      117      122       +5     

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

@decentralgabe decentralgabe merged commit 6a7c36c into main Apr 9, 2024
8 checks passed
@decentralgabe decentralgabe deleted the fix-clog branch April 9, 2024 20:58
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