treat NoSources as a regular attempt and increment num_attempts

This commit is contained in:
Wez Furlong
2023-06-24 10:29:11 -07:00
parent d8174deb2d
commit 46f83144b8
+1 -1
View File
@@ -595,7 +595,7 @@ impl Queue {
delivery_protocol: None,
})
.await;
return self.force_into_delayed(msg).await;
anyhow::bail!("no non-zero-weighted sources available for {}", self.name);
}
};