-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Todo #3636
Todo #3636
Conversation
.github/pull_request_template.md
Outdated
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.
Mhh, it looks like you put the pull request description into the template file, instead of just filing it out on GitHub 🤔 Could you drop this file from your PR, please?
src/logger/src/metrics.rs
Outdated
@@ -87,18 +87,16 @@ pub struct Metrics<T: Serialize> { | |||
// Metrics will get flushed here. | |||
metrics_buf: Mutex<Option<Box<dyn Write + Send>>>, | |||
is_initialized: AtomicBool, | |||
pub app_metrics: T, | |||
pub metrics_buf_input: T, |
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.
Mhh, the only reason this name makes sense is because of the todo-comment, which this PR removes. Maybe metrics_data
makes more sense?
src/dumbo/src/tcp/endpoint.rs
Outdated
@@ -79,13 +79,13 @@ pub struct Endpoint { | |||
// is the only option). | |||
|
|||
impl Endpoint { | |||
/// Asserts that RCV_BUF_MAX_SIZE <= MAX_WINDOW_SIZE |
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.
Could we instead write a complete doc comment here with a ## Panics:
section that mentions this simplifying assumption?
Signed-off-by: Landon Johnson <[email protected]>
Signed-off-by: Landon Johnson <[email protected]>
Signed-off-by: Landon Johnson <[email protected]>
Signed-off-by: Landon Johnson <[email protected]>
Hi @StonewallJohnson , Thanks for your contribution. |
Resolve a TODO about documenting a panic condition. Closes firecracker-microvm#3636 Signed-off-by: Patrick Roy <[email protected]> Co-Authored-by: Landon Johnson <[email protected]>
The name is fine. When it was tried to be changed in firecracker-microvm#3636 we could not come up with anything better really. Signed-off-by: Patrick Roy <[email protected]>
Resolve a TODO about documenting a panic condition. Closes firecracker-microvm#3636 Co-Authored-by: Landon Johnson <[email protected]> Signed-off-by: Patrick Roy <[email protected]>
The name is fine. When it was tried to be changed in firecracker-microvm#3636 we could not come up with anything better really. Signed-off-by: Patrick Roy <[email protected]>
The name is fine. When it was tried to be changed in #3636 we could not come up with anything better really. Signed-off-by: Patrick Roy <[email protected]>
Resolve a TODO about documenting a panic condition. Closes firecracker-microvm#3636 Co-Authored-by: Landon Johnson <[email protected]> Signed-off-by: Patrick Roy <[email protected]>
The name is fine. When it was tried to be changed in firecracker-microvm#3636 we could not come up with anything better really. Signed-off-by: Patrick Roy <[email protected]>
Resolve a TODO about documenting a panic condition. Closes firecracker-microvm#3636 Co-Authored-by: Landon Johnson <[email protected]> Signed-off-by: Patrick Roy <[email protected]>
The name is fine. When it was tried to be changed in firecracker-microvm#3636 we could not come up with anything better really. Signed-off-by: Patrick Roy <[email protected]>
Resolve a TODO about documenting a panic condition. Closes firecracker-microvm#3636 Co-Authored-by: Landon Johnson <[email protected]> Signed-off-by: Patrick Roy <[email protected]>
The name is fine. When it was tried to be changed in firecracker-microvm#3636 we could not come up with anything better really. Signed-off-by: Patrick Roy <[email protected]>
Changes
Reason
Resolve TODOs according to #3273
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following
Developer Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
CHANGELOG.md
.TODO
s link to an issue.rust-vmm
.