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

codedge-llc / kadabra / 167 / 2
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2017 10:12PM UTC
Files 28
Run time 1s
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

04 Dec 2017 10:10PM UTC coverage: 89.276% (+0.7%) from 88.556%
167.2

push

travis-ci

web-flow
fix: memory leak on connection crashes (#23)

* feat: better supervision structure

* chore: bumped kadabra to v0.3.5

Also: better test coverage

* feat: entirely new supervision strategy

Kadabra.Supervisor starts a ConnectionSupervisor and StreamSupervisor.
ConnSupervisor manages encoder/decoder tables and the Connection worker
with a :one_for_all restart strategy. StreamSupervisor manages the
streams with :one_for_one restart.

To keep the API the same, Kadabra.Supervisor.start_link returns the pid
of the supervisor itself. The Connection worker is keyed in the registry
by this supervisor pid. The user still makes calls with the returned
pid, but it's forwarded with a via_tuple to the proper worker. Unsure
if this might impact performance.

Possible TODO: Consider keying everything by supervisor pid instead of
the generated ref. While conflicts should be virtually nonexistent, this
would guarantee it.

* chore: update CHANGELOG

* fix: removed unused ConnectionSupervisor.start_connection

333 of 373 relevant lines covered (89.28%)

2626.48 hits per line

Source Files on job 167.2
  • Tree
  • List 0
  • Changed 20
  • Source Changed 7
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 167
  • Travis Job 167.2
  • f3903615 on github
  • Prev Job for on master (#157.1)
  • Next Job for on master (#168.2)
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