-
Notifications
You must be signed in to change notification settings - Fork 0
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
7 add detailed info page #21
base: 8-vdisk-list-page
Are you sure you want to change the base?
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
32f0039
to
02c5872
Compare
1f56c24
to
14d7edf
Compare
02c5872
to
b53f412
Compare
1a0e87e
to
1d9b344
Compare
e7bb19d
to
f8bdc8d
Compare
93ea824
to
7c92ccb
Compare
f8bdc8d
to
2231812
Compare
7c92ccb
to
197db21
Compare
2231812
to
2bdbf32
Compare
197db21
to
d4ac6db
Compare
2bdbf32
to
8903d49
Compare
4fe4c4a
to
a0cd96c
Compare
12de748
to
af299d3
Compare
tokio::spawn(async move { handle.clone().get_disks().await }) | ||
}; | ||
|
||
let Ok(Ok(GetStatusResponse::AJSONWithNodeInfo(status))) = status.await else { |
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.
Am I correct that tasks for metrics
, space_info
and disks
will still run to completion even if function shortcircuits here? Wouldn't this approach result in many tasks running for every unsuccessful request?
.ok_or(StatusCode::NOT_FOUND)?, | ||
); | ||
|
||
let status = { |
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.
Probably this code can be extracted into macro, to prevent handle...spawn
duplication?
Partly resolves #7