Enhance Connection Pool Configuration: Add min/max Query Parameters, Update Docs, and Refactor Codebase#34
Merged
4 commits merged intoJun 16, 2025
Merged
Conversation
added 4 commits
June 16, 2025 03:35
hiDandelion
pushed a commit
that referenced
this pull request
Jun 24, 2026
* Refine Nowhere boost settings and networking labels * Refactor Nowhere pool handling in ProxyEditorView and TVProxyEditorViewController
This pull request was closed.
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.
This pull request introduces enhancements to NodePass's connection pool configuration, updates documentation to reflect these changes, and refactors the codebase to support the new functionality. The most notable changes include adding query parameters for connection pool capacity, updating documentation in both English and Chinese, and modifying the code to handle the new parameters.
Documentation Updates:
README.mdandREADME_zh.mdto include examples of the newminandmaxquery parameters for connection pool configuration. Added a new tool, NodePanel, to the list of NodePass-related projects. [1] [2] [3] [4]minandmaxparameters for connection pool capacity indocs/en/configuration.mdanddocs/zh/configuration.md. Updated environment variable recommendations to align with the new query parameters. [1] [2] [3] [4] [5] [6]docs/en/usage.mdanddocs/zh/usage.mdto include syntax and examples for the new query parameters in client mode. [1] [2] [3] [4] [5] [6]Codebase Changes:
minPoolCapacityandmaxPoolCapacityfields in theClientstruct withininternal/common.goto store the new parameters.NewClientfunction ininternal/client.goto parse and set theminandmaxvalues from the URL.internal/client.goto use the newminPoolCapacityandmaxPoolCapacityfields. [1] [2]These changes improve the flexibility of connection pool configuration, making NodePass more adaptable to various performance and resource constraints.