]> git.giacomolli.uk - onechat/commit
Keep each schedule with its owning agent
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Tue, 10 Nov 2026 05:50:59 +0000 (02:50 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Tue, 10 Nov 2026 05:50:59 +0000 (02:50 -0300)
commit2124c559da8f164a43a3da987b399b6ac6125035
tree1eae65f3cbe0fc7dbf15dc6af5262a5f22bfa0aa
parent2ad578a24f252706976cddb41bee6cc969f251cd
Keep each schedule with its owning agent

Schedules record the agent that sets them and wake only its loop. Saved
schedules without an owner take the name of their agent, so root tasks
keep their behavior across a restart. A different stored owner stops
startup instead of sending the task to the wrong agent.
README.rst
backup_test.go
daemon_agent.go
daemon_message_test.go
schedule.go
schedule_helper_test.go
schedule_test.go