pub async fn set_max_concurrent_downloads( download_manager: State<'_, DownloadManagerWrapper>, max: usize, ) -> Result<(), String>
Set the maximum concurrent downloads