Skip to content

Commit

Permalink
Merge branch 'eclesio/add-parallel-grandpa-test' of github.com:ChainS…
Browse files Browse the repository at this point in the history
…afe/gossamer into eclesio/add-parallel-grandpa-test
  • Loading branch information
EclesioMeloJunior committed Dec 6, 2022
2 parents 23b5ca3 + 4bf96a2 commit 75f2983
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion dot/peerset/peerset.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package peerset

import (
"context"
"errors"
"fmt"
"math"
"strings"
Expand Down Expand Up @@ -641,7 +642,11 @@ func (ps *PeerSet) incoming(setID int, peers ...peer.ID) error {
} else {
err := state.tryAcceptIncoming(setID, pid)
if err != nil {
logger.Errorf("cannot accept incomming peer %s: %s", pid, err)
if errors.Is(err, ErrIncomingSlotsUnavailable) {
logger.Debugf("cannot accept incoming peer %s: %s", pid, err)
} else {
logger.Errorf("cannot accept incoming peer %s: %s", pid, err)
}
message.Status = Reject
} else {
logger.Debugf("incoming connection accepted from peer %s", pid)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ require (
github.com/wasmerio/go-ext-wasm v0.3.2-0.20200326095750-0a32be6068ec
golang.org/x/crypto v0.0.0-20220518034528-6f7dac969898
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
golang.org/x/text v0.4.0
golang.org/x/text v0.5.0
google.golang.org/protobuf v1.28.1
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1393,8 +1393,8 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg=
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM=
golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down

0 comments on commit 75f2983

Please sign in to comment.