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

TykTechnologies / tyk / 2679

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

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

Jobs
ID Job ID Ran Files Coverage
1 2679.1 (LATEST_GO=true) 26 Jul 2017 02:23PM UTC 0
43.75
Travis Job 2679.1
Source Files on build 2679
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2679
  • cf767275 on github
  • Prev Build on master (#2677)
  • Next Build on master (#2680)
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