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

Eyevinn / moqlivemock / 44059117109
60%

Build:
DEFAULT BRANCH: main
Ran 17 Nov 2026 09:50AM UTC
Jobs 1
Files 40
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

17 Nov 2026 09:49AM UTC coverage: 59.731% (+0.2%) from 59.536%
44059117109

push

github

tobbee
relay: cap the bytes a subscriber's queue holds

A subscriber's queue was bounded by object count only (256), and a publisher chooses how large its Objects are, so a subscriber that could not keep up could hold 256 Objects of up to 64 MiB each, long after the cache had let them go.

The queue now also keeps to a byte budget (Handler.QueueBytes, mlmrel -queue-mib, default 16 MiB), counted as for the cache. A subscriber over it falls behind as on a full queue and resyncs at the first group start that fits. An empty queue takes any object, so one larger than the budget still gets through.

There is no relay-wide total: the queues share their Objects with each other and with the cache, so a sum overcounts what is held, and a cap on it would push healthy subscribers of a popular track behind.

24 of 28 new or added lines in 3 files covered. (85.71%)

8 existing lines in 3 files now uncovered.

3769 of 6310 relevant lines covered (59.73%)

1326.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
0.0
0.0% cmd/mlmrel/main.go
1
71.35
4.9% internal/relay/forward.go

Coverage Regressions

Lines Coverage ∆ File
3
71.35
4.9% internal/relay/forward.go
3
87.96
-0.89% internal/relay/relay.go
2
83.87
-3.23% internal/listen.go
Jobs
ID Job ID Ran Files Coverage
1 44059117109.1 17 Nov 2026 09:50AM UTC 40
59.73
GitHub Action Run
Source Files on build 44059117109
  • Tree
  • List 40
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 06311771 on github
  • Prev Build on main (#43455663731)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc