Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
pump the queue on reconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Jun 11, 2020
1 parent 52bf637 commit 64ca69a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ struct reliable_amqp_publisher_impl final : reliable_amqp_publisher_callbacks {
elog("Channel error for AMQP connection ${s} publishing to \"${e}\": ${m}; restarting connection", ("s", (std::string)*amqp_address)("e", exchange)("m",s));
retry_connection();
});
pump_queue();
}

void amqp_error(const char* message) override {
Expand Down

0 comments on commit 64ca69a

Please sign in to comment.