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

Sync the fix from NNG upstream #204

Merged
merged 12 commits into from
Oct 10, 2023
Merged

Sync the fix from NNG upstream #204

merged 12 commits into from
Oct 10, 2023

Conversation

JaylinYu
Copy link
Member

No description provided.

phsilva and others added 12 commits October 10, 2023 19:17
NNG_MAX_EXPIRE_THREADS docs say that 0 means unlimited, but there is a
code check that imposes a limit between [1, 256].

This commit fixes the doc.
change message to function name
function name was wrong in the code snippet.
This change makes expire threads tunable follows the same strategy as
taskq threads tunables.

Add NNG_NUM_EXPIRE_THREADS to override the default behavior (`n_cpu`
expire threads).

The NNG_MAX_EXPIRE_THREADS limit is always applied if > 0, even if you
specify the desired number of threads using NNG_NUM_EXPIRE_THREADS.

NNG_EXPIRE_THREADS is not used anymore. This was only referenced in the
code but never defined on CMake.

The logic to cap expire threads between 1 and 256 was removed. If users
set no limits, whatever value they choose will be used instead of being
silently overridden by us.
This also updates libascii and go-get dependencies to allow the
pubrefman tool to work again.
The documentation for this function had not been updated in a long
time, and reflected behavior that is incorrect.
fix compile error in nano using clang version 16.0.5

fix issue: nanomsg/nng#1676
(This also affects TCP, and fixed there.)
@JaylinYu JaylinYu merged commit 0bdcb94 into main Oct 10, 2023
6 of 14 checks passed
@JaylinYu JaylinYu deleted the jaylin/sdk branch October 10, 2023 11:17
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.

8 participants