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

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

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

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>

14252 of 15789 relevant lines covered (90.27%)

87611.23 hits per line

Source Files on job 3219.1
  • Tree
  • List 0
  • Changed 22
  • Source Changed 12
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2795
  • Travis Job 3219.1
  • 2a86112a on github
  • Prev Job for on route_send_subs_go_routine_threshold (#3142.2)
  • Next Job for on route_send_subs_go_routine_threshold (#3231.1)
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