mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-06 16:17:11 +00:00
Speed up CircleCI builds
To achieve faster feedback cycles for our feature PRs this change reduces the average buildtime from 35 to ~6min by utilising their new 2.0 offering based on docker and nomad. We make use of parallel build steps wherever possible so that the duration is determined by the slowest test suite (p2p). This is an intermediate step until we move our CI/CD completely on-premise for more control and added security.
This commit is contained in:
@@ -18,9 +18,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
defaultConnDeadlineSeconds = 3
|
||||
defaultDialRetryIntervalSeconds = 1
|
||||
defaultDialRetryMax = 10
|
||||
defaultConnDeadlineSeconds = 3
|
||||
defaultDialRetryMax = 10
|
||||
)
|
||||
|
||||
// Socket errors.
|
||||
@@ -56,7 +55,7 @@ type socketClient struct {
|
||||
// Check that socketClient implements PrivValidator2.
|
||||
var _ types.PrivValidator2 = (*socketClient)(nil)
|
||||
|
||||
// NewsocketClient returns an instance of socketClient.
|
||||
// NewSocketClient returns an instance of socketClient.
|
||||
func NewSocketClient(
|
||||
logger log.Logger,
|
||||
socketAddr string,
|
||||
@@ -448,7 +447,7 @@ func readMsg(r io.Reader) (PrivValidatorSocketMsg, error) {
|
||||
|
||||
w, ok := read.(struct{ PrivValidatorSocketMsg })
|
||||
if !ok {
|
||||
return nil, errors.New("unknwon type")
|
||||
return nil, errors.New("unknown type")
|
||||
}
|
||||
|
||||
return w.PrivValidatorSocketMsg, nil
|
||||
|
||||
Reference in New Issue
Block a user