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

TykTechnologies / tyk / 3257

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2017 08:28AM UTC
Jobs 1
Files 80
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

pending completion
3257

push

travis-ci

mvdan
vendor: update drl with mutex fix

cleanServerList was modifying the map without grabbing any lock at all.
Change how the lock is used in this code. Grab the lock only in exposed
methods, as the others are only called once from the exposed ones.

And use a single Mutex instead of a RWMutex, as both exposed methods do
writes. Previously, AddOrUpdateServer would first grab a write lock and
then grab some read locks. However, that's wasteful and can lead to
subtle inconsistencies and bugs. Grab the same lock throughout the func.

Fixes #1216.

5865 of 12784 relevant lines covered (45.88%)

0.5 hits per line

Jobs
ID Job ID Ran Files Coverage
2 3257.2 (LATEST_GO=true) 20 Oct 2017 08:28AM UTC 0
45.88
Travis Job 3257.2
Source Files on build 3257
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3257
  • ec643a94 on github
  • Prev Build on master (#3254)
  • Next Build on master (#3265)
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