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

ericblade / mws-advanced / 111
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: typescript
DEFAULT BRANCH: master
Ran 07 Mar 2018 06:03PM UTC
Jobs 1
Files 32
Run time 2s
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
111

push

travis-ci

ericblade
fix for potential cache stampede

- cache API call promises, and return those promises, so that even if
  multiple identical requests are in flight simultaneously for a response,
  only the first one will actually go to the API, and all the rest will
  be resolved automatically when the first request is resolved.
- if the cached data needs further processing (ie digResponseResult) before
  it can be returned to the internal mws-advanced API, then overwrite the
  promise in the cache with the actual data returned, once it is available.
- once the original promise is resolved, it will also return the
  digResponseResult or the returnRaw result, whichever is asked.
- hmm. we may need to add { ...opt } to the cache key string.. need to test

184 of 230 branches covered (80.0%)

Branch coverage included in aggregate %.

443 of 523 relevant lines covered (84.7%)

46.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 111.1 07 Mar 2018 06:03PM UTC 0
83.27
Travis Job 111.1
Source Files on build 111
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #111
  • 0b137225 on github
  • Prev Build on develop (#107)
  • Next Build on develop (#116)
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