fix(content): bound remote resource usage

This commit is contained in:
objz committed 2026-08-04 21:02:35 +02:00
1 parent bf2957e75b
commit d488954548
7 files changed
+82 -7

No files matched your search

@@ -842,7 +842,10 @@ fn spawn_project_page(request: crate::tui::widgets::content::discovery::ProjectP
.await
.map_err(|error| error.to_string())?;
let bytes = client
.get_bytes(&url)
.get_bytes_limited(
&url,
crate::tui::widgets::markdown::MAX_PROJECT_IMAGE_BYTES,
)
.await
.map_err(|error| error.to_string())?;
tokio::task::spawn_blocking(move || {