Make documentation standalone and generalize examples

This commit is contained in:
Melvin Strobl
2026-10-25 14:43:20 +01:00
parent 13bf0f76d7
commit bdb18b99da
57 changed files with 553 additions and 481 deletions
+1 -5
View File
@@ -116,11 +116,7 @@ def test_one_flows_failure_does_not_stand_another_down():
def test_two_tasks_on_one_flow_do_not_spend_each_others_budget():
"""The house's power flow: an MQTT subscriber and its keepalive publisher.
Both die with the same broker. Sharing one budget meant the flow was stood
down after half the restarts either task was allowed on its own.
"""
"""A subscriber and publisher each get a full restart budget."""
tries = {"sub": 0, "pub": 0}
def crasher(which: str):