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

jbielick / faktory_worker_node / 273
97%

Build:
DEFAULT BRANCH: master
Ran 10 Jan 2020 12:49AM UTC
Jobs 4
Files 12
Run time 52s
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

pending completion
273

push

travis-ci

jbielick
test connection before starting worker pool

starting the worker pool involves each worker (n=concurrency) attempting
to fetch (staggered) very quickly. The connection pool faktory create()
method fails when the connection fails and each worker continuously
retries in a tight loop. This causes 100% CPU usage and excessive log
output. Testing the connection once before starting the worker pool
fetch loop can ensure that a connection can be established before
starting that thundering herd and, if it fails, can reject the
faktory.work() promise immediately and keep things from spinning out of
control.

Thus, one single error will occur and halt the process.

closes #38

89 of 91 branches covered (97.8%)

Branch coverage included in aggregate %.

358 of 363 relevant lines covered (98.62%)

978.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 273.1 10 Jan 2020 12:50AM UTC 0
98.46
Travis Job 273.1
2 273.2 10 Jan 2020 12:49AM UTC 0
98.46
Travis Job 273.2
3 273.3 10 Jan 2020 12:49AM UTC 0
98.46
Travis Job 273.3
4 273.4 10 Jan 2020 12:49AM UTC 0
98.46
Travis Job 273.4
Source Files on build 273
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #273
  • 2bfc7622 on github
  • Prev Build on master (#272)
  • Next Build on master (#274)
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