• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nats-io / nats-server / 6061
86%
main: 84%

Build:
Build:
LAST BUILD BRANCH: fix_code_coverage
DEFAULT BRANCH: main
Ran 14 Aug 2020 05:44PM UTC
Jobs 1
Files 36
Run time 28s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Aug 2020 05:44PM UTC coverage: 88.192% (-0.01%) from 88.205%
6061

push

travis-ci

web-flow
Inhibit Go's default TCP keepalive settings for NATS (#1562)

Inhibit Go's default TCP keepalive settings for NATS

Go 1.13 changed the semantics of the tuning parameters for TCP keepalives, including the default value.  This affects all TCP listeners.  The NATS protocol has its own L7 keepalive system (PING/PONG) and the Go defaults are not a good fit for some valid deployment scenarios, while Go doesn't directly expose a working API for tuning these.

Rather than add a configuration knob and pull in another dependency (with portability issues) just disable TCP keepalives for all listeners used for speaking the NATS protocol.

Change the tests so we test the same logic.  Do not change HTTP monitoring, profiling, or the websocket API listeners.

Change KeepAlive on client connections too.

17 of 17 new or added lines in 5 files covered. (100.0%)

26574 of 30132 relevant lines covered (88.19%)

82117.89 hits per line

Jobs
ID Job ID Ran Files Coverage
2 6061.2 (GO111MODULE=off) 14 Aug 2020 05:44PM UTC 0
88.19
Travis Job 6061.2
Source Files on build 6061
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6061
  • 3c680ece on github
  • Prev Build on master (#6034)
  • Next Build on master (#6062)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc