Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
Index and aggregate federated view counts master
When a LiveViewCount record arrives via firehose, store it in a go-cache (2min TTL) keyed by streamer:server. GetViewerCount now sums local HLS connections + all federated counts, so the websocket, HTTP API, and getLiveUsers XRPC all automatically include federated viewer counts with no additional changes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author Eli Mallon Co-author Claude Opus 4.6 (1M context) Date (Mar 22, 2026, 12:47 AM UTC) Commit 2d2bdd16 2d2bdd169e42b493090782ec04d7e569968bcc69 Parent 68ed6b97 68ed6b97875d44a365d5a9fa14d81f9420eb1686