feat(core): change IPC channel names to avoid conflicts with legacy version
This commit is contained in:
parent
5b9743bf68
commit
00b4f97b14
|
@ -29,15 +29,15 @@ pub enum IPCEvent {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn spawn_daemon_ipc_server(runtime_dir: &Path) -> Result<Receiver<IPCEvent>> {
|
pub fn spawn_daemon_ipc_server(runtime_dir: &Path) -> Result<Receiver<IPCEvent>> {
|
||||||
spawn_ipc_server(runtime_dir, "daemon")
|
spawn_ipc_server(runtime_dir, "daemonv2")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn spawn_worker_ipc_server(runtime_dir: &Path) -> Result<Receiver<IPCEvent>> {
|
pub fn spawn_worker_ipc_server(runtime_dir: &Path) -> Result<Receiver<IPCEvent>> {
|
||||||
spawn_ipc_server(runtime_dir, "worker")
|
spawn_ipc_server(runtime_dir, "workerv2")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn create_ipc_client_to_worker(runtime_dir: &Path) -> Result<impl IPCClient<IPCEvent>> {
|
pub fn create_ipc_client_to_worker(runtime_dir: &Path) -> Result<impl IPCClient<IPCEvent>> {
|
||||||
create_ipc_client(runtime_dir, "worker")
|
create_ipc_client(runtime_dir, "workerv2")
|
||||||
}
|
}
|
||||||
|
|
||||||
fn spawn_ipc_server(
|
fn spawn_ipc_server(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user