| commit | 65602097b716674316a318d5594a8b2b0e52d239 | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Thu Dec 19 10:37:34 2024 +0100 |
| committer | Jan Schär <jan@monogon.tech> | Mon Dec 23 10:13:43 2024 +0000 |
| tree | 750858f9b0302860f49ccde11edbd908ce58df94 | |
| parent | aa6b42a15c38d1d99301673fa76c6b0f2953a892 [diff] |
osbase/supervisor: make restart sleep cancelable Previously, if a runnable died, and immediately after also its parent, then the parent was only restarted after waiting for both the child and then parent restart backoff sleep. Additionally, the child was restarted with an already canceled context. Now, the restart sleep can be canceled, and if canceled will directly go to CANCELED state without first starting the runnable. Change-Id: Ie986db680d4df12d590881d1a7e468c741a732d9 Reviewed-on: https://review.monogon.dev/c/monogon/+/3714 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.