Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make paramSetXXX() functions non-blocking #1235

Merged
merged 3 commits into from
Feb 20, 2023
Merged

Conversation

krichardsson
Copy link
Contributor

Fixes #1234

This PR changes the 'paramSetXXX()' functions to be non-blocking when pushing data to the TX queue. If the queue is full, a warning message will be logged.

The behavior should be identical in most (all?) cases when a client is connected. The TX queue is 120 slots long and it should not be full as long as a client is connected.

When no client is connected, an app can still call paramSetXXX() without surprises.

@krichardsson krichardsson merged commit 20a95d8 into master Feb 20, 2023
@krichardsson krichardsson deleted the krichardsson/set-param branch February 20, 2023 12:16
@krichardsson krichardsson added this to the 2023.02 milestone Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

paramSetXXX() functions block on sending packets when client is not connected
1 participant