Deluan c7865ff159 fix(stream): make TranscodingThrottle a singleton and optimize hot path
- Use sync.Once to ensure a single shared throttle instance across
  all wire-injected consumers (subsonic + public routers)
- Optimize Acquire() fast path: TryAcquire before touching the atomic
  backlog counter, avoiding unnecessary atomic ops when slots are free

refactor(stream): use singleton package for TranscodingThrottle
2026-03-25 08:21:37 -04:00
..