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

nats-io / gnatsd / 3219
90%
master: 91%

Build:
Build:
LAST BUILD BRANCH: remoteleaf
DEFAULT BRANCH: master
Ran 26 Mar 2019 11:40PM UTC
Jobs 1
Files 27
Run time 3s
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

26 Mar 2019 11:21PM UTC coverage: 90.265% (-1.2%) from 91.444%
3219

push

travis-ci

kozlovic
Conditional send of routed subs from a go routine

When a route is established, it is possible that each server sends
its list of subscriptions to each other at the same time. Doing
it in place from the readLoop could then cause problems because
each side could reach a point where the outbound socket buffer
is full and no one is dequeuing data (since readLoop is doing
the send of the subs list).
We changed sending this list from a go routine. However, for small
number of subscriptions, it is not required and was causing some
of the tests to fail because of timing issues.

We will now send in place if the estimated size of all protocols
is below a give threshold (1MB).

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

60 of 60 new or added lines in 1 file covered. (100.0%)

14252 of 15789 relevant lines covered (90.27%)

87611.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3219.1 26 Mar 2019 11:40PM UTC 0
90.27
Travis Job 3219.1
Source Files on build 3219
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3219
  • 2a86112a on github
  • Prev Build on route_send_subs_go_routine_threshold (#3142)
  • Next Build on route_send_subs_go_routine_threshold (#3231)
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

© 2025 Coveralls, Inc