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

nats-io / nats-server / 4573
91%
main: 82%

Build:
Build:
LAST BUILD BRANCH: fix_code_coverage
DEFAULT BRANCH: main
Ran 31 Dec 2019 09:36PM UTC
Jobs 1
Files 27
Run time 4s
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

31 Dec 2019 09:30PM UTC coverage: 90.885% (+0.1%) from 90.771%
4573

push

travis-ci

kozlovic
[UPDATED] TCP Write and SlowConsumer handling

- All writes will now be done by the writeLoop, unless when the
  writeLoop has not been started yet (likely in connection init).
- Slow consumers for non CLIENT connections will be reported but
  not failed. The idea is that routes, gateway, etc.. connections
  should stay connected as much as possible. However if a flush
  operation times out and no data at all has been written, the
  connection will be closed (regardless of type).
- Slow consumers due to max pending is only for CLIENT connections.
  This allows sending of SUBs through routes, etc.. to not have
  to be chunked.
- The backpressure to CLIENT connections is increased (up to 1sec)
  based on the sub's connection pending bytes level.
- Connection is flushed on close from the writeLoop as to not block
  the "fast path".

Some tests have been fixed and adapted since now closeConnection()
is not flushing/closing/removing connection in place.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>

262 of 262 new or added lines in 6 files covered. (100.0%)

17528 of 19286 relevant lines covered (90.88%)

86029.21 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4573.2 (GO111MODULE=off) 31 Dec 2019 09:36PM UTC 0
90.88
Travis Job 4573.2
Source Files on build 4573
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4573
  • 77592fb5 on github
  • Prev Build on all_writes_from_write_loop (#4572)
  • Next Build on all_writes_from_write_loop (#4575)
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