We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3edf60c commit 71d65c2Copy full SHA for 71d65c2
crates/walrus-service/src/node/blob_sync.rs
@@ -798,9 +798,9 @@ impl BlobSynchronizer {
798
let existing = {
799
let storage = self.storage().clone();
800
let blob_id = self.blob_id;
801
- utils::unwrap_or_resume_unwind(
802
- tokio::task::spawn_blocking(move || storage.get_metadata(&blob_id)).await,
803
- )?
+ tokio::task::spawn_blocking(move || storage.get_metadata(&blob_id))
+ .map(utils::unwrap_or_resume_unwind)
+ .await?
804
};
805
if let Some(metadata) = existing {
806
tracing::debug!("not syncing metadata: already stored");
0 commit comments