-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fix(config): SE_NODE_MAX_SESSIONS written to wrong section #2961
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
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
I think you are passing config |
I just checked, we enforce it always false
So, it does not require |
I'm using standalone and node, using parameters described here. The variable under If there's an issue with how I'm using it, please let me know. I've always used it this way before, but problems started occurring after this update. |
Ah ok, I just discovered the issue now. The number of max-sessions enforced is less than or equal cpu cores. Probably at that time, I tested around 2~8 so I assumed it worked, but behavior is not correct
|
FYI, I am trying to unify the logic in core, so that |
User description
Description
Environment variable
SE_NODE_MAX_SESSIONS
is not working in the latest version. This was caused by #2942, which has modified config generation but set to writeSE_NODE_MAX_SESSIONS
to[[node.driver-configuration]]
section. However, this variable should be put under[node]
.Motivation and Context
To fix the functionality of parameter
SE_NODE_MAX_SESSIONS
.Types of changes
Checklist
PR Type
Bug fix
Description
Fix
SE_NODE_MAX_SESSIONS
configuration placement in wrong sectionMove max-sessions setting from driver-configuration to node section
Add validation for positive integer values
Diagram Walkthrough
File Walkthrough
generate_config
Fix max-sessions configuration section placement
NodeBase/generate_config
SE_NODE_MAX_SESSIONS
from[[node.driver-configuration]]
to[node]
section