diff options
Diffstat (limited to 'packages/meshbay-node/tests')
| -rw-r--r-- | packages/meshbay-node/tests/test_task_lifetime.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/meshbay-node/tests/test_task_lifetime.py b/packages/meshbay-node/tests/test_task_lifetime.py index 9dffedb..133c030 100644 --- a/packages/meshbay-node/tests/test_task_lifetime.py +++ b/packages/meshbay-node/tests/test_task_lifetime.py @@ -14,6 +14,14 @@ first try included, until the daemon was restarted. It was two slots at the time, which is how few it took. Seen in the wild on 2026-08-16 after a viewer switched films mid-stream. + +**What stays here is the session's own contract**: a peer session holds what it +starts *and can cancel it* on the way out, which a module-level holder cannot — +a session ends, a process does not. The same rule for every other +fire-and-forget task, in every package, is +`meshbay-common/tests/test_background_tasks.py`. This file used to state it for +one file, and therefore did not state it for the nineteen sites outside that +file. """ import re |