-
Notifications
You must be signed in to change notification settings - Fork 79
Add unix domain socket for telemetry server #128
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
base: main
Are you sure you want to change the base?
Conversation
8c9c1c3
to
bfd5bcb
Compare
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.
The changes seem reasonable to me but note that this includes breaking changes in public API so that requires a major foundations release.
f9f3203
to
690a22f
Compare
bc1350b
to
abdb38b
Compare
if let Err(e) = std::fs::remove_file(path) { | ||
log::warn!("failed to remove existing Unix socket file"; "path" => %path.display(), "error" => e); | ||
} | ||
} |
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.
Do we really want to silently delete existing sockets? I have a gut feeling that this could hide subtle problems
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.
It would be easy to get into a bad state during a crash and a restart because we can't reuse old sockets.
abdb38b
to
161ea12
Compare
161ea12
to
4f53c41
Compare
4f53c41
to
4b14aab
Compare
No description provided.