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

TykTechnologies / tyk / 2770

Build:
DEFAULT BRANCH: master
Ran 22 Aug 2017 09:26AM UTC
Jobs 1
Files 84
Run time 4s
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
2770

push

travis-ci

buger
api: switch to two reload workers instead of one

We had one worker which was executing the actual reloads. To be able to
have the "done" callback funcs attach to previously queued reloads, we
must add a second worker goroutine that keeps track of these without
data races nor active polling.

Now, all communication goes through the new goroutine, as it's the one
that manages the queue.

This also fixes the case where a reload that wasn't queued didn't block.
The proof is in TestHotReloadMany - that func now expects 25 callbacks
when it sends 25 reloads to the queue, when only one reload is actually
executed under the hood.

5971 of 13597 relevant lines covered (43.91%)

0.47 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2770.2 (LATEST_GO=true) 22 Aug 2017 09:26AM UTC 0
43.91
Travis Job 2770.2
Source Files on build 2770
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2770
  • 23b10044 on github
  • Prev Build on master (#2763)
  • Next Build on master (#2772)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc