ashpd
ashpd copied to clipboard
Timeout requests
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
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.