Skip to content

Commit

Permalink
perpetual channel bug fix wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Robles committed Jul 19, 2018
1 parent 5de43ec commit 9e3f322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ func Publish(conn *amqp.Connection, queue Queue, exchange Exchange, body string)
err = errors.New("Message not acknowledged")
return err
}
defer channel.Close()
}
}
}
}
defer channel.Close()
return nil
}

0 comments on commit 9e3f322

Please sign in to comment.