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

nats-io / nats-streaming-server / 2407
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: add-eol-note
DEFAULT BRANCH: main
Ran 25 Feb 2021 04:12PM UTC
Jobs 1
Files 24
Run time 7s
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

25 Feb 2021 04:03PM UTC coverage: 91.69% (+0.06%) from 91.635%
2407

push

travis-ci-com

kozlovic
[FIXED] Fail faster subscription requests for invalid clients

When the server detects that a client is not responding to heartbeats,
it closes it, however, this was done with a barrier that ensures
that all pending protocols on all internal subscriptions are first
processed.
In the case of this close (as opposed to processing a client close
request), this is not welcome because it may causes the server
to process lots of subscription requests that were sent by that
client - maybe in response to timeouts for a server already having
issues handling the load.

The server will now forcefully close the client (without the use
of the barrier) and the detection of an invalid client is done
sooner in the handling of the subscription request.

Also, the internal subscription for client subscription requests
has been reverted to be limited (with possibly dropping requests).

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

12667 of 13815 relevant lines covered (91.69%)

70911.89 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2407.2 (GO111MODULE=off) 25 Feb 2021 04:12PM UTC 0
91.69
Travis Job 2407.2
Source Files on build 2407
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2407
  • 7b73297c on github
  • Prev Build on fix_sub_req_failed_on_client_close (#2400)
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