async fn handle_upload_failure(
pool: &PgPool,
config: &RdioConfig,
row: &StreamRow,
error: &UploadError,
)Expand description
Handles an upload failure by deciding whether to retry or mark the row as permanently failed, based on the attempts-so-far counter.