Repository navigation
upssched: run expired timer commands asynchronously - #3769
Open
user01010111 wants to merge 4 commits into
Open
user01010111 wants to merge 4 commits into
user01010111 wants to merge 4 commits into
Conversation
Launch expired timer commands without blocking other timers or requests. Collect their direct children before normal idle exit and preserve immediate EXECUTE and unmatched CANCEL-TIMER behaviour. Update timer command tests and operator documentation. AI assistance: OpenAI Codex and Claude Opus assisted with implementation, review and validation. The human contributor approved publication. Signed-off-by: user01010111 <lapses.50.booster@icloud.com>
|
A ZIP file with standard source tarball and another tarball with pre-built docs for commit 147fbc3 is temporarily available: NUT-tarballs-PR-3769.zip. |
added 2 commits
October 15, 2026 14:33
Signed-off-by: user01010111 <lapses.50.booster@icloud.com>
Signed-off-by: user01010111 <lapses.50.booster@icloud.com>
| script[0] = argv[0]; | ||
| script[1] = (char *)"--command"; | ||
| script[2] = NULL; | ||
| cmdscript_argv = script; |
|
✅ Build nut 2.8.5.5892-master completed (commit e6a50c3aca by @jimklimov)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A slow timer command now allows other timers and timer requests to proceed. The daemon collects its direct children and waits for them before its normal idle exit. Immediate EXECUTE and unmatched CANCEL-TIMER commands retain their synchronous behaviour.
Evidence
Compatibility
Timer commands may now overlap, including successive invocations of the same timer name. The manuals and upgrade notes explain that scripts which require serial execution must arrange their own locking.
Closes #3115.
Prepared with OpenAI Codex and reviewed with Claude Opus.