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

Eyevinn / moqlivemock / 43457195008
60%
main: 60%

Build:
Build:
LAST BUILD BRANCH: fix/relay-queue-bytes
DEFAULT BRANCH: main
Ran 13 Nov 2026 03:55PM 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

13 Nov 2026 03:53PM UTC coverage: 59.762% (+0.2%) from 59.536%
43457195008

Pull #178

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.
Pull Request #178: mlmrel: cap the bytes a subscriber's queue holds

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

2 existing lines in 1 file now uncovered.

3771 of 6310 relevant lines covered (59.76%)

1326.37 hits per line

Uncovered Changes

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

Coverage Regressions

Lines Coverage ∆ File
2
83.87
-3.23% internal/listen.go
Jobs
ID Job ID Ran Files Coverage
1 43457195008.1 13 Nov 2026 03:55PM UTC 40
59.76
GitHub Action Run
Source Files on build 43457195008
  • Tree
  • List 40
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #178
  • PR Base - 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