ashpd icon indicating copy to clipboard operation
ashpd copied to clipboard

Timeout requests

Open bilelmoussaoui opened this issue 1 year ago • 1 comments

If the request is taking too long to receive a response, we should cancel it and drop the request. This is essentially important for cases when there is a crash on the backend side

Same should be done for the backend side

bilelmoussaoui avatar Nov 01 '24 17:11 bilelmoussaoui

zbus has now a way to set the timeout for methods on the Connection level https://docs.rs/zbus/latest/zbus/blocking/connection/struct.Builder.html#method.method_timeout so we just need to figure out a decent value to set there.

bilelmoussaoui avatar Sep 20 '25 10:09 bilelmoussaoui