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

Fullscreen / yt / 590
94%

Build:
DEFAULT BRANCH: master
Ran 15 Jan 2021 07:19PM UTC
Jobs 1
Files 180
Run time 41s
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
590

push

travis-ci

web-flow
Don't retry on quota errors (#401)

* Don't retry on quota errors

They say that insanity is doing the same thing over and over and
expecting different results...

This patch removes retry behavior on quota issues because:

* this isn't useful when daily quota has been reached
* in the case of 100s quota, you'd need to be attempting requests ~61s
into the quota cool-off in order for the final retry to succeed. That
seems pretty unlikely.

So for all practical purposes, when quota is reached, the library stalls
for the maximum timeout time (39s by my math). This is further
problematic when making requests in environments like Heroku that have
a 30s timeout for web request-response cycles.

Let's do the sane thing and just raise an error when quota is reached.

* Bump to 0.33.4 [ci-skip]

5630 of 5994 relevant lines covered (93.93%)

40.58 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/yt/request.rb
Jobs
ID Job ID Ran Files Coverage
1 590.1 (2.6.3, gemfiles/Gemfile.activesupport-4.x) 15 Jan 2021 07:19PM UTC 0
93.93
Travis Job 590.1
Source Files on build 590
  • Tree
  • List 180
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #590
  • 126b1fe3 on github
  • Prev Build on master (#585)
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

© 2025 Coveralls, Inc