Skip to content

Fix request distribution stats#1071

Merged
ArneBab merged 1 commit into
hyphanet:nextfrom
bertm:fix-request-distribution-stats
Jun 22, 2025
Merged

Fix request distribution stats#1071
ArneBab merged 1 commit into
hyphanet:nextfrom
bertm:fix-request-distribution-stats

Conversation

@bertm

@bertm bertm commented May 13, 2025

Copy link
Copy Markdown
Contributor

Turns out I broke this 9 years ago, so let's fix it 😄
For those who don't have a memory of these statistics panels, it's these two:
image


The count was never incremented, and consequently the Incoming Request Distribution and Outgoing Request Distribution panels would no longer show up on the statistics page.

Instead of keeping track of the total count independent of the bins, just sum the bins when we need a total count for display purposes.

While we're at it, let's get rid of the synchronization too.

The `count` was never incremented, and consequently the Incoming Request
Distribution and Outgoing Request Distribution panels would no longer
show up on the statistics page.

Instead of keeping track of the total count independent of the bins,
just sum the bins when we need a total count for display purposes.

While we're at it, let's get rid of the synchronization too.
@Bombe

Bombe commented May 13, 2025

Copy link
Copy Markdown
Contributor

You know, sometimes I was wondering where these things went, but I never bothered to actually look for them… 😄

@ArneBab ArneBab merged commit 7004913 into hyphanet:next Jun 22, 2025
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