Open wash2 opened 1 year ago
Yeah for the compositor we essentially need to wait for it to become available and then force another restart of the other components. Not sure if launch-pad has the infrastructure to allow us to special-case this yet.
We also probably want to remove the hard limit on the number of retries. It would eventually restart correctly with maybe exponential backoff in restart rate, plus a random factor. (Don't want to be constantly restarting things, or restarting everything in lockstep.)
But this specific case should be handled explicitly too.
Ahh I've just seen what I think is the same issue again at the start of cosmic-session. Most shell components fail several times until they go over the retry limit because they fail to connect to cosmic-comp
WARN cosmic-launcher: cosmic_session: thread 'main' panicked at 'Failed to initialize the event loop: NoCompositor