Skip to content

Commit acfe0c8

Browse files
committed
[core] Pass to FairMQ tasks abstract namespace endpoint paths
O2-5457 OCTRL-946
1 parent 3f4a6f7 commit acfe0c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/task/channel/endpoint.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232
"github.com/rs/xid"
3333
)
3434

35-
const ipcPathFormat = "/tmp/o2ipc-%s"
35+
const IPC_PATH_FORMAT = "@o2ipc-%s"
3636

3737
type BindMap map[string]Endpoint
3838

@@ -90,7 +90,7 @@ func NewIpcEndpoint(path string, transport TransportType) Endpoint {
9090

9191
func NewBoundIpcEndpoint(transport TransportType) Endpoint {
9292
return IpcEndpoint{
93-
Path: fmt.Sprintf(ipcPathFormat, xid.New().String()),
93+
Path: fmt.Sprintf(IPC_PATH_FORMAT, xid.New().String()),
9494
Transport: transport,
9595
}
9696
}

0 commit comments

Comments
 (0)