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

Refactor: remove counter for HTTP connections internally #1363

Conversation

josecelano
Copy link
Member

The number of HTTP tracker connections don't make sense. There are connection requests only in the UDP tracker.

That code is removed but, in order to keep backward compatibility, the API still exposes that value which is the:

number of announce requests + number of scrape requests

The number of HTTP tracker connections don't make sense. There are
connection requests only in the UDP tracker.

That code is removed but, in order to keep backward compatibility, the
API still exposes that value which is the:

number of announce requests + number of scrape requests
@josecelano josecelano added the Code Cleanup / Refactoring Tidying and Making Neat label Mar 7, 2025
@josecelano josecelano requested a review from da2ce7 March 7, 2025 11:51
@josecelano josecelano self-assigned this Mar 7, 2025
@josecelano josecelano linked an issue Mar 7, 2025 that may be closed by this pull request
@josecelano
Copy link
Member Author

ACK 89607cc

Copy link

codecov bot commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.37%. Comparing base (cd3d4fd) to head (89607cc).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1363      +/-   ##
===========================================
- Coverage    81.43%   81.37%   -0.06%     
===========================================
  Files          229      229              
  Lines        16500    16448      -52     
  Branches     16500    16448      -52     
===========================================
- Hits         13437    13385      -52     
  Misses        2821     2821              
  Partials       242      242              

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@josecelano josecelano merged commit 6a22b1e into torrust:develop Mar 7, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup / Refactoring Tidying and Making Neat
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overhaul stats: Refactor HTTP metrics
1 participant