This repository has no description

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>


+37 -9
4 changed files