Closed zaibon closed 5 years ago
For a service that has a test command define, zinit stops trying after a very short time (3730ms). It can happens that some daemon takes quite some time before being ready. https://github.com/threefoldtech/zinit/blob/master/src/manager/mod.rs#L155
I think we need to change that so it retries forever but with a proper back off strategy. https://crates.io/crates/tokio-retry could be used for that.
For a service that has a test command define, zinit stops trying after a very short time (3730ms). It can happens that some daemon takes quite some time before being ready. https://github.com/threefoldtech/zinit/blob/master/src/manager/mod.rs#L155
I think we need to change that so it retries forever but with a proper back off strategy. https://crates.io/crates/tokio-retry could be used for that.