We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It always divides by 2, but it should divide by the number of requests served:
nats.rs/async-nats/src/service/mod.rs
Line 787 in 67b2798
I believe this should be:
stats.average_processing_time = stats.processing_time.checked_div(stats.requests).unwrap();
The avg time should total time / # requests
current tip of main
main
No response
The text was updated successfully, but these errors were encountered:
If the endpoint returns total requests and total time it seems like the CLI should calculate the average?
total requests
total time
Then every language implementation wouldn't have to do it since it's a "derived quantity" for the underlying data.
Sorry, something went wrong.
oh, that is a silly mistake. Will issue a fix shortly, unless you want to contribute it 🙂
I'll do it just to get a PR, why not.
PR in #1152
Fixed in #1152
Thank you @jadamcrain !
No branches or pull requests
Observed behavior
It always divides by 2, but it should divide by the number of requests served:
nats.rs/async-nats/src/service/mod.rs
Line 787 in 67b2798
I believe this should be:
Expected behavior
The avg time should total time / # requests
Server and client version
current tip of
main
Host environment
No response
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: