cfgutils: fix async sleep()/usleep() doc examples#4110
Merged
bogdan-iancu merged 1 commit intoJul 16, 2026
Conversation
Member
The async sleep/usleep examples still used the pre-3.0 string-style
parameters (sleep("5"), usleep("1000")). Since the typed module
interface, both functions declare CMD_PARAM_INT, so the quoted form
fails at startup with:
ERROR:core:fix_cmd: Param [1] expected to be an integer or variable
ERROR:core:fix_actions: Failed to fix command <sleep>
Use integer parameters, matching the synchronous examples.
NormB
force-pushed
the
fix/cfgutils-async-sleep-docs
branch
from
July 14, 2026 18:23
0aced82 to
a6f4e38
Compare
Member
Author
|
Always happy to help. Norm |
Member
|
Thank you @NormB |
bogdan-iancu
added a commit
that referenced
this pull request
Jul 16, 2026
cfgutils: fix async sleep()/usleep() doc examples (cherry picked from commit 2c8760d)
bogdan-iancu
added a commit
that referenced
this pull request
Jul 16, 2026
cfgutils: fix async sleep()/usleep() doc examples (cherry picked from commit 2c8760d)
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.
The async sleep/usleep examples still used the pre-3.0 string-style parameters (sleep("5"), usleep("1000")). Since the typed module interface, both functions declare CMD_PARAM_INT, so the quoted form fails at startup with:
ERROR:core:fix_cmd: Param [1] expected to be an integer or variable
ERROR:core:fix_actions: Failed to fix command
Use integer parameters, matching the synchronous examples.
Summary
Details
Solution
Compatibility
Closing issues