Skip to content

Commit

Permalink
Revert "channel: account for confirm_select when restoring topology"
Browse files Browse the repository at this point in the history
This reverts commit bb0ba23.

Doesn't make sense to make this part of topology actually
  • Loading branch information
Keruspe committed Aug 31, 2024
1 parent 74f18af commit cf55f32
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,6 @@ impl Channel {
ch: &ChannelDefinitionInternal,
c: &mut RestoredChannel,
) -> Result<()> {
if let Some(channel) = ch.channel.as_ref() {
if channel.status.confirm() {
c.confirm_select(ConfirmSelectOptions::default()).await?;
}
}

// First, redeclare all queues
for queue in &ch.queues {
if queue.is_declared() {
Expand Down

0 comments on commit cf55f32

Please sign in to comment.