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

wooga / atlas-appcenter / 29
65%

Build:
DEFAULT BRANCH: master
Ran 16 Dec 2020 12:10PM UTC
Jobs 3
Files 7
Run time 26s
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
29

push

jenkins

Improve rate limit handling (#33)

Description
===========

This patch adds a special handler for the `429` http response code. The
[microsoft docs] describe some headers that will be available when the
rate limit nears its end. I deciced to implement a simple handler for
the `Retry-After` header. This should contain a time value in seconds
when to retry the service again. I implemented the handler with a
generic method. The caller has to provide a closure which will be called
after the timeout. I setup a fallback timeout of 2 minutes in case the
header can't be found.

Changes
=======

* ![IMPROVE] rate limit handling

[microsoft docs]: https://docs.microsoft.com/en-us/azure/devops/integrate/concepts/rate-limits?view=azure-devops#api-client-experience

321 of 375 relevant lines covered (85.6%)

2.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29.1 16 Dec 2020 12:10PM UTC 0
85.6
2 29.2 16 Dec 2020 12:10PM UTC 0
85.6
3 29.3 16 Dec 2020 12:11PM UTC 0
85.6
Source Files on build 29
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #29
  • 45aae4f1 on github
  • Prev Build on master (#25)
  • Next Build on master (#34)
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