Skip to main content

persist_streaming_quality

Function persist_streaming_quality 

Source
async fn persist_streaming_quality(
    db: &State<'_, DatabaseWrapper>,
    quality: StreamingQuality,
)
Expand description

Write the ceiling to app_settings. Failure is logged, not returned: the setting has already been applied in memory, and refusing the whole call because the write failed would leave the UI showing a cap that is active.

TRACES: UR-074 | DR-162