Skip to content

Update the socket path to new location #50

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

Merged
merged 1 commit into from
Oct 2, 2020

Conversation

hug-dev
Copy link
Member

@hug-dev hug-dev commented Sep 23, 2020

See this issue for details.

@hug-dev hug-dev added the invalid This doesn't seem right label Sep 23, 2020
@hug-dev hug-dev self-assigned this Sep 23, 2020
@hug-dev hug-dev marked this pull request as draft September 23, 2020 14:35
@@ -18,7 +18,7 @@ use std::io::{Error, ErrorKind};
#[cfg(not(feature = "no-fs-permission-check"))]
use std::os::unix::fs::MetadataExt;

const DEFAULT_SOCKET_PATH: &str = "/tmp/parsec/parsec.sock";
const DEFAULT_SOCKET_PATH: &str = "/run/parsec/parsec.sock";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is already a way to modify the path of the socket at runtime, so for test I think we can change this path to /tmp/parsec.sock in the e2e_tests folder directly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is? Wow, I had some good foresight there

@hug-dev hug-dev marked this pull request as ready for review September 25, 2020 15:40
@hug-dev hug-dev requested a review from ionut-arm September 25, 2020 15:40
Copy link
Member

@ionut-arm ionut-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌 let's DO THIS

@@ -18,7 +18,7 @@ use std::io::{Error, ErrorKind};
#[cfg(not(feature = "no-fs-permission-check"))]
use std::os::unix::fs::MetadataExt;

const DEFAULT_SOCKET_PATH: &str = "/tmp/parsec/parsec.sock";
const DEFAULT_SOCKET_PATH: &str = "/run/parsec/parsec.sock";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is? Wow, I had some good foresight there

@hug-dev
Copy link
Member Author

hug-dev commented Sep 28, 2020

I will wait for consensus on the three PRs before I start merging any of them 🚀 Just in case some changes is still needed here

@hug-dev hug-dev merged commit fc49f9c into parallaxsecond:master Oct 2, 2020
@hug-dev hug-dev deleted the new-socket-path branch October 2, 2020 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants