Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ impl SchedulerState {
}

while let Some(fetched) = set.join_next().await {
if let Ok(true) = fetched {
if fetched.context("background_fetch_any: Failed to join a task")? {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASFAIU the error case can not happen in a release build: if join_next fails the whole process dies before it bubbles here. And if it happens in non-release builds, we should maybe just log an error?

break;
}
}
Expand Down