upsd: Revise chunked select from a swarm of client or driver connections#3367
Merged
jimklimov merged 10 commits intonetworkupstools:masterfrom Mar 25, 2026
Merged
upsd: Revise chunked select from a swarm of client or driver connections#3367jimklimov merged 10 commits intonetworkupstools:masterfrom
upsd: Revise chunked select from a swarm of client or driver connections#3367jimklimov merged 10 commits intonetworkupstools:masterfrom
Conversation
Member
Author
|
@aarnold-sd68: Appveyor timed out, so retrying the build for you to have something to run: 2.8.4.4368-master |
|
✅ Build nut 2.8.4.4368-master completed (commit 2f354d218a by @jimklimov) |
…rt to start hundreds of drivers to see what happens [networkupstools#3302] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…involved [networkupstools#3302] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…tworkupstools#3302] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ools#3302] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…S_SWARM_COUNT [networkupstools#3302] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…Y_UPS_SWARM_COUNT>0 [networkupstools#3302] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ndows console Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ts [networkupstools#3302] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…o timeout (pick already waiting connections), only then try time-waited select [networkupstools#3302] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…lso report getmyprocbasename() [networkupstools#1711] In particular, help discern replies from the drivers launched by upsdrvctl en masse. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Member
Author
|
PR rebased over merge of #3363 to isolate changes made for this problem. |
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.
Follow-up for #3302 and #3303.
Also revises
upsdrvctlin WIN32 builds toWaitForSingleObjectmore diligently, honouringmaxstartdelaysame way POSIX code path does.In
common.cwhen logging is first called, switchstderrandstdoutto line-buffered mode, for coherent logs on WIN32 (this belonged more in #3373 but oh well).CC @aarnold-sd68