summaryrefslogtreecommitdiff
path: root/socket_factory.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-14 12:48:23 +0300
committerValery Piashchynski <[email protected]>2020-12-14 12:48:23 +0300
commit8203dc4d76624f4fceddff49b8a1aba9d525fc73 (patch)
tree0243010b2c7dd26dcd87e7965da4affe80731dd2 /socket_factory.go
parent673da74925dee5c62064d3304289ae81cb499217 (diff)
Move to goridge3
Diffstat (limited to 'socket_factory.go')
-rwxr-xr-xsocket_factory.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/socket_factory.go b/socket_factory.go
index 472e5a05..e517c03f 100755
--- a/socket_factory.go
+++ b/socket_factory.go
@@ -10,7 +10,7 @@ import (
"github.com/shirou/gopsutil/process"
"github.com/spiral/errors"
- "github.com/spiral/goridge/v2"
+ "github.com/spiral/goridge/v3"
"go.uber.org/multierr"
"golang.org/x/sync/errgroup"
)
@@ -215,7 +215,7 @@ func (f *SocketFactory) findRelay(w WorkerBase) (*goridge.SocketRelay, error) {
}
// chan to store relay associated with specific pid
-func (f *SocketFactory) attachRelayToPid(pid int64, relay *goridge.SocketRelay) {
+func (f *SocketFactory) attachRelayToPid(pid int64, relay goridge.Relay) {
f.relays.Store(pid, relay)
}