-
Notifications
You must be signed in to change notification settings - Fork 210
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
chore: improve devimint api #4237
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #4237 +/- ##
=======================================
Coverage 57.87% 57.87%
=======================================
Files 197 197
Lines 43416 43420 +4
=======================================
+ Hits 25126 25129 +3
- Misses 18290 18291 +1 ☔ View full report in Codecov by Sentry. |
@@ -32,17 +32,19 @@ use super::vars::utf8; | |||
use crate::util::{poll, FedimintdCmd}; | |||
use crate::{poll_eq, vars}; | |||
|
|||
#[derive(Clone)] | |||
pub struct Federation { |
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.
Does it make sense to clone this? Isn't it more like a ... resource?
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.
all daemon structs are clone in devimint
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.
We don't do things like "kill on Drop
" etc. on them?
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.
that happens in ProcessHandle, which is Arc<ProcessHandleInner>
No description provided.