Marc-Antoine Perennou

Results 122 comments of Marc-Antoine Perennou

You can either await the result of basic_publish to wait for this specific confirm, or call wait_for_confirms to wait for all pending confirmations. wait_for_confirms returns the list of messages that...

The internal mechanism is the same, but wait_for_confirms will only wait for the last publish On Thu 23 Jun 2022 at 11:07, roger ***@***.***> wrote: > is wait_for_confirms more efficient...

Please note that AMQP 1.0 is a whole other protocol, it's not just another revision of AMQP 0.9.1

Note that there are already pieces in place to select the AMQP version to use so lapin could eventually support both indeed... but this will require proper sponsoring

A heartbeat timeout will trigger a connection error, resolving all pending futures with an error. Lapin currently doesn't support automatic reconnection as of now (see #312 )

You can also register a callback here which will be called: https://docs.rs/lapin/latest/lapin/struct.Connection.html#method.on_error

Does this happen without tokio?

Also, does it still happen with tokio-amqp 1.1.0?

It prints the cameras *then* crashes, when glibc calls all the cleanup stuff at the end of execution, from what I get

I do not have gphoto2 installed but I can try. I also can try adding some kind of sleep right at the end of print-camera-list to make sure it crashes...