diff --git a/.travis.yml b/.travis.yml index 60f8600..f0f793f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: go go: +- 1.15.x - 1.14.x go_import_path: github.com/nats-io/stan.go install: @@ -13,4 +14,4 @@ before_script: script: - go test -v -race . -modfile go_tests.mod after_success: -- if [[ "$TRAVIS_GO_VERSION" =~ 1.14 ]]; then ./scripts/cov.sh TRAVIS; fi +- if [[ "$TRAVIS_GO_VERSION" =~ 1.15 ]]; then ./scripts/cov.sh TRAVIS; fi diff --git a/stan.go b/stan.go index f2694db..a9ff1b3 100644 --- a/stan.go +++ b/stan.go @@ -43,7 +43,7 @@ const ( // DefaultPingInterval is the default interval (in seconds) at which a connection sends a PING to the server DefaultPingInterval = 5 // DefaultPingMaxOut is the number of PINGs without a response before the connection is considered lost. - DefaultPingMaxOut = 3 + DefaultPingMaxOut = 88 ) // Conn represents a connection to the NATS Streaming subsystem. It can Publish and