liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9ecd2b4fb489fe09c4e9683d814010feefc18578
parent 1a6160bcabd485ce8aca350b22df64434a1d570d
Author: Daniel Barlow <dan@telent.net>
Date:   Tue, 25 Mar 2025 23:55:00 +0000

think

Diffstat:
MTHOUGHTS.txt | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/THOUGHTS.txt b/THOUGHTS.txt @@ -7357,3 +7357,24 @@ almost worse firewall module gonna be option 1 isn't it? + +Tue Mar 25 00:13:31 GMT 2025 + +the logic for watch-outputs is not correct + +(1) when we first read outputs, how do we know if the controlled +service is up to date wrt those outputs? we should perform the action +for the first time after reading initial state and before waiting + +(2) it isn't writing the new outputs back into trees, so will refresh +continually after the fisrt change + +set tree to empty for each service +loop: +for each service + read new tree + if different + do action + set tree = new tree +wait for changes +next iteration