Re-increase segment request timeout

This commit is contained in:
ByteDream 2022-12-28 15:35:38 +01:00
parent 7115c5546d
commit b8e46099f9

View file

@ -81,7 +81,7 @@ pub async fn download_segments(
let mut buf = loop { let mut buf = loop {
let response = thread_client let response = thread_client
.get(&segment.url) .get(&segment.url)
.timeout(Duration::from_secs(10)) .timeout(Duration::from_secs(60))
.send() .send()
.await .await
.unwrap(); .unwrap();