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

TykTechnologies / tyk / 2679 / 1

Build:
DEFAULT BRANCH: master
Ran 26 Jul 2017 02:23PM UTC
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

26 Jul 2017 02:20PM UTC coverage: 43.746% (-0.005%) from 43.751%
LATEST_GO=true

push

travis-ci

buger
mw: avoid double goroutine in rate limiting

If UseAsyncSessionWrite is true, DefaultSessionManager.UpdateSession
does the actual store write in a goroutine. Other than that, the
function has very little logic and a json marshal.

As such, it's redundant for this middleware to also use a goroutine. It
would only lead to extra CPU use and delay in writing the session to the
store, given how two goroutines need to be scheduled instead of just
one.

5939 of 13576 relevant lines covered (43.75%)

0.47 hits per line

Source Files on job 2679.1 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2679
  • Travis Job 2679.1
  • cf767275 on github
  • Prev Job for LATEST_GO=true on master (#2677.1)
  • Next Job for LATEST_GO=true on master (#2680.1)
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