2 ms·
While true agent should roll back to previous content version if it keeps crashing
by qaq 2y ago
While true agent should roll back to previous content version if it keeps crashing
- Kwpolska 2y agoDetecting system crashes would be hard. You could try logging and comparing timestamps on agent startups and see if the difference is 5 minutes or less. Buggy kernel drivers crash Windows hard and fast.
- qaq 2y agoloading content is pretty specific step so your solution is more or less valid
- kchr 2y ago> Detecting system crashes would be hard. Store something like an `attemptingUpdate` flag before updating, and remove it if the update was successful. Upon system startup, if the flag is present, revert to the previous config and mark the new config bad.