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

xapi-project / xen-api / 29488449110
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: fix/throttling-conflicts
DEFAULT BRANCH: master
Ran 16 Jul 2026 09:48AM UTC
Jobs 1
Files 36
Run time 1min
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

16 Jul 2026 09:47AM UTC coverage: 78.996%. Remained the same
29488449110

Pull #7175

github

cplaursen
rate-limit: Skip redundant caller refreshes

add_caller was clearing the caller's rate_limit to Ref.null before
setting the new value, which briefly left the caller unlimited and
fired two full caller_table refreshes (each an extra DB read via the
callback). The datamodel's reverse-relation machinery already removes
the caller from any previous Rate_limit's callers set on assignment,
so set the target directly and notify once.

set_burst_size and set_fill_rate no longer notify attached callers:
the caller_table entry still points at the same rate_limit_ref and
install_bucket has already swapped the in-memory bucket, so the next
find_bucket on the dispatch path picks up the new parameters. The
old notifications were pure overhead.

Signed-off-by: Christian Pardillo Laursen <christian.pardillolaursen@citrix.com>
Pull Request #7175: Add rate limiting to xapi

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 29488449110.1 16 Jul 2026 09:48AM UTC 36
79.0
GitHub Action Run
Source Files on build 29488449110
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29488449110
  • Pull Request #7175
  • PR Base - master (#29307709356)
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