diff --git a/rpc/lib/server/handlers.go b/rpc/lib/server/handlers.go index b95f606c..78845c09 100644 --- a/rpc/lib/server/handlers.go +++ b/rpc/lib/server/handlers.go @@ -340,7 +340,7 @@ const ( writeChanCapacity = 1000 wsWriteWait = 30 * time.Second // each write times out after this. defaultWSPongWait = 30 * time.Second - defaultWSPingPeriod = 10 * time.Second + defaultWSPingPeriod = (defaultWSPongWait * 9) / 10 ) // a single websocket connection diff --git a/rpc/lib/test/integration_test.sh b/rpc/lib/test/integration_test.sh index ca15440c..7c23be7d 100755 --- a/rpc/lib/test/integration_test.sh +++ b/rpc/lib/test/integration_test.sh @@ -9,9 +9,6 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" # Change into that dir because we expect that. pushd "$DIR" -echo "==> Installing deps" -go get -v - echo "==> Building the server" go build -o rpcserver main.go