Skip to content

Commit

Permalink
deps: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rustatian committed Feb 15, 2022
1 parent 32bff14 commit 0e5371f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ require (
github.com/emicklei/proto v1.9.2
github.com/goccy/go-json v0.9.4
github.com/prometheus/client_golang v1.12.1
github.com/roadrunner-server/api/v2 v2.8.0
github.com/roadrunner-server/api/v2 v2.9.0
github.com/roadrunner-server/errors v1.1.1
github.com/roadrunner-server/goridge/v3 v3.3.1
github.com/roadrunner-server/sdk/v2 v2.8.1
github.com/roadrunner-server/sdk/v2 v2.9.1
github.com/stretchr/testify v1.7.0
go.uber.org/zap v1.21.0
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
Expand Down
9 changes: 4 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,14 @@ github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU=
github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
github.com/roadrunner-server/api/v2 v2.8.0 h1:fok4BipCNot+gduxvIWGcadA2+lGGK9h6pQD+VPjTns=
github.com/roadrunner-server/api/v2 v2.8.0/go.mod h1:oBcessyxeXlyR3WRCUcMtNwS98Hv2lRBBracjAgN+DI=
github.com/roadrunner-server/api/v2 v2.9.0 h1:bTv6xxrr5YhD7HXN78O8D+tylcl1eVjdseaHx3K19rY=
github.com/roadrunner-server/api/v2 v2.9.0/go.mod h1:jQ0rWRiuVozw4G8ASgx0YEwxDqMOD4NdestaJanPcM0=
github.com/roadrunner-server/errors v1.1.1 h1:BzrB+xZE+iTISVfXSzIL9YbpPt6oHoRHgOBjlU/pigQ=
github.com/roadrunner-server/errors v1.1.1/go.mod h1:MzHjhRZIZc1ooMyYllUhNs0aTqRUbwcgUSO0TN7kCII=
github.com/roadrunner-server/goridge/v3 v3.3.1 h1:IYdm+smDfKl09AfFgKJeSNpSTp7KTgO3XfGPKrxs0vQ=
github.com/roadrunner-server/goridge/v3 v3.3.1/go.mod h1:f7SPSt9HUw5kbCc6Ofk4eEUU1xh2qHf/NznrTaW+aLA=
github.com/roadrunner-server/sdk/v2 v2.8.1 h1:QneTXD31gBmiEV5q+Cd4yDgoPCkKJZj+zrV1PLXp6dM=
github.com/roadrunner-server/sdk/v2 v2.8.1/go.mod h1:oqohHdPseV3P3woXk3H1XUnU8YeprC63O8wRmjCkP5Q=
github.com/roadrunner-server/sdk/v2 v2.9.1 h1:TOIOLCWQ5kenQgg3XnFqgCXnTsHrPqO/kp9RgIWW/wI=
github.com/roadrunner-server/sdk/v2 v2.9.1/go.mod h1:rDLsNXHdpbPGkHIVA7JoLEIHlFc6ydCwOsOpGdfuYfI=
github.com/roadrunner-server/tcplisten v1.1.1 h1:uVJVdg/zaasD2A4Mg+GyMlsUy2nLp9ADKec/REzql9Y=
github.com/roadrunner-server/tcplisten v1.1.1/go.mod h1:2MjzsggdgxCca4p2k3YJdWdo/QnQehiOTy0knlE226c=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
Expand Down Expand Up @@ -397,7 +397,6 @@ golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220111092808-5a964db01320/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 h1:rm+CHSpPEEW2IsXUib1ThaHIjuBVZjxNgSKmBLFfD4c=
golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
Expand Down
12 changes: 7 additions & 5 deletions plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ import (

"github.com/roadrunner-server/api/v2/plugins/config"
"github.com/roadrunner-server/api/v2/plugins/server"
"github.com/roadrunner-server/api/v2/pool"
"github.com/roadrunner-server/api/v2/state/process"
"github.com/roadrunner-server/errors"
"github.com/roadrunner-server/grpc/v2/codec"
"github.com/roadrunner-server/grpc/v2/proxy"
"github.com/roadrunner-server/sdk/v2/pool"
"github.com/roadrunner-server/sdk/v2/state/process"
poolImpl "github.com/roadrunner-server/sdk/v2/pool"
processImpl "github.com/roadrunner-server/sdk/v2/state/process"
"github.com/roadrunner-server/sdk/v2/utils"
"go.uber.org/zap"
"google.golang.org/grpc"
Expand Down Expand Up @@ -86,14 +88,14 @@ func (p *Plugin) Serve() chan error {
errCh := make(chan error, 1)

var err error
p.gPool, err = p.rrServer.NewWorkerPool(context.Background(), &pool.Config{
p.gPool, err = p.rrServer.NewWorkerPool(context.Background(), &poolImpl.Config{
Debug: p.config.GrpcPool.Debug,
NumWorkers: p.config.GrpcPool.NumWorkers,
MaxJobs: p.config.GrpcPool.MaxJobs,
AllocateTimeout: p.config.GrpcPool.AllocateTimeout,
DestroyTimeout: p.config.GrpcPool.DestroyTimeout,
Supervisor: p.config.GrpcPool.Supervisor,
}, p.config.Env)
}, p.config.Env, nil)
if err != nil {
errCh <- errors.E(op, err)
return errCh
Expand Down Expand Up @@ -166,7 +168,7 @@ func (p *Plugin) Workers() []*process.State {

ps := make([]*process.State, 0, len(workers))
for i := 0; i < len(workers); i++ {
state, err := process.WorkerProcessState(workers[i])
state, err := processImpl.WorkerProcessState(workers[i])
if err != nil {
return nil
}
Expand Down
4 changes: 2 additions & 2 deletions proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"strings"
"sync"

"github.com/roadrunner-server/api/v2/payload"
"github.com/roadrunner-server/api/v2/pool"
"github.com/roadrunner-server/errors"
"github.com/roadrunner-server/goridge/v3/pkg/frame"
"github.com/roadrunner-server/grpc/v2/codec"
"github.com/roadrunner-server/sdk/v2/payload"
"github.com/roadrunner-server/sdk/v2/pool"
"golang.org/x/net/context"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
Expand Down

0 comments on commit 0e5371f

Please sign in to comment.