-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
rpc benchmark: json rpc benchmark #20912
base: grafana-pull
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
96a1b86
to
5fa2843
Compare
5fa2843
to
f97ea40
Compare
stream.try_for_each_spawned(concurrency, |fut| fut), | ||
) | ||
.await | ||
.unwrap_or(Ok(()))?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is .unwrap_or(Ok(())
basically unwrap()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not really, per the timeout doc
/// If the future completes before the duration has elapsed, then the completed
/// value is returned. Otherwise, an error is returned and the future is
/// canceled.
so .unwrap_or(Ok(())
intends to catch the early-termination-error and exit gracefully instead of panic right away -- meanwhile propagating the errors from try_for_each_spawned
if anything
Description
will collect more logs from production and stress test with logs pulled from loki API
Test plan
local run and verify on report
Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.