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

xapi-project / xen-api / 12766698809 / 1
78%
master: 80%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/master/pr-6827-0a0da4ed4d58330be5347ab6e308bbd14fa72455
DEFAULT BRANCH: master
Ran 14 Jan 2025 11:33AM UTC
Files 37
Run time 1s
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

14 Jan 2025 11:29AM UTC coverage: 78.273%. Remained the same
12766698809.1

push

github

web-flow
CP-51692: Do not enable Event.next ratelimiting if Event.next is still used internally (#6222)

This fixes a performance regression on `feature/perf` with all feature
flags disabled.

By default Event.next is still used internally, so although this API is
deprecated do not yet enable the throttling by default. Fixes:
3e1d8a27a7 ("CP-51692: Event.next: use same batching as Event.from")
Fixes: 2b4e0db649 ("CP-49158: [prep] Event.{from,next}: make delays
configurable and prepare for task specific delays")

It slows down all synchronous API calls that create tasks, like
VM.start.

Only enable the throttling when Event.next is not used internally
(`use-event-next = false` in xapi.conf), which will eventually become
the default.

The code prior to the above changes used 0 delay between checking for
events, so do the same here (although this lead to a lot of inefficient
wakeups of all active tasks in XAPI, whenever anything changes, it
matches previous behaviour)

(the code for Event.from used a 50ms delay, which matches the default
for that setting already)

3462 of 4423 relevant lines covered (78.27%)

0.78 hits per line

Source Files on job python3.11 - 12766698809.1
  • Tree
  • List 37
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12766698809
  • b892c6e3 on github
  • Prev Job for on feature/perf (#12746018289.1)
  • Next Job for on feature/perf (#12866045608.1)
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