when a persistent notifications for amqp/kafka are set with
amqp/kafka-ack-level=none, only the first notification is sent.
any consequent notifications are not sent.
Fixes: https://tracker.ceph.com/issues/49557
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
timer(io_context) {}
void async_wait(spawn::yield_context yield) {
+ if (pending_tokens == 0) {
+ return;
+ }
timer.expires_from_now(infinite_duration);
boost::system::error_code ec;
timer.async_wait(yield[ec]);