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

Eyevinn / moqlivemock / 43431000157
60%
main: 60%

Build:
Build:
LAST BUILD BRANCH: fix/relay-queue-bytes
DEFAULT BRANCH: main
Ran 13 Nov 2026 01:09PM 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 01:07PM UTC coverage: 59.615% (+0.5%) from 59.109%
43431000157

Pull #175

github

tobbee
relay: cap the bytes the group cache holds

groupCache evicted old groups by count but appended to the newest without limit, so a publisher completing subgroup after subgroup in one group grew the relay until it ran out of memory (#172).

The cache now keeps to a byte budget per track (Handler.CacheBytes, mlmrel -cache-mib, default 64 MiB) and one across all tracks (TotalCacheBytes, -cache-total-mib, default 512 MiB). An object counts its payload, its properties and a fixed overhead, so empty end-of-subgroup markers count too. A group that goes over first evicts its track's older groups; if that is not enough, it is dropped from the cache. A dropped group is served from cache neither to a FETCH or fill, which go upstream, nor to a late joiner, who starts at the next group as a subscriber that fell behind does. A track gives its bytes back to the relay-wide budget when it ends.

A subscriber resuming at a new group, after falling behind or on such a join, also no longer takes late objects of earlier groups still arriving on other streams. They reached it as a partial group.
Pull Request #175: mlmrel: cap the bytes the group cache holds

67 of 78 new or added lines in 4 files covered. (85.9%)

2 existing lines in 1 file now uncovered.

3745 of 6282 relevant lines covered (59.61%)

1330.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
0.0
0.0% cmd/mlmrel/main.go
3
66.89
7.3% internal/relay/forward.go
2
93.77
1.84% internal/relay/track.go

Coverage Regressions

Lines Coverage ∆ File
2
63.17
-0.49% internal/pub/pub.go
Jobs
ID Job ID Ran Files Coverage
1 43431000157.1 13 Nov 2026 01:09PM UTC 40
59.61
GitHub Action Run
Source Files on build 43431000157
  • Tree
  • List 40
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #175
  • PR Base - main (#43423727809)
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