Skip to content

Commit 548627d

Browse files
committed
wip
1 parent 201813a commit 548627d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/delivery.rs

+4
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ impl Delivery {
134134
}
135135

136136
pub async fn wait(&self) -> Result<Option<DeliveryState>, AmqpProtocolError> {
137+
if self.0.flags.get().contains(Flags::LOCAL_SETTLED) {
138+
return Ok(None);
139+
}
140+
137141
let rx = if let Some(inner) = self
138142
.session
139143
.inner

0 commit comments

Comments
 (0)