Skip to content

Add property for maximum number of reactive sessions #38703

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

Conversation

JohnNiang
Copy link
Contributor

By default, the maxinum number of sessions is 10,000 while using Reactive server. Our users always receive errors that reach the maxinum session limit. See here for source code.

This PR allows users to freely configure the maxinum number of sessions by setting property server.reactive.session.max-sessions.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 7, 2023
@JohnNiang JohnNiang force-pushed the feat/support-configuring-max-session-limit branch from 5ad31df to a28e44f Compare December 7, 2023 06:43
Copy link
Member

@wilkinsona wilkinsona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, @JohnNiang. I've left a few comments for your consideration.

@wilkinsona wilkinsona added the status: waiting-for-feedback We need additional information before we can continue label Dec 7, 2023
@JohnNiang JohnNiang force-pushed the feat/support-configuring-max-session-limit branch from a28e44f to c4b7c3a Compare December 8, 2023 01:40
@JohnNiang
Copy link
Contributor Author

Hi @wilkinsona , thank you for code review. I have adjusted some of the code according to your feedback.

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Dec 8, 2023
@JohnNiang JohnNiang force-pushed the feat/support-configuring-max-session-limit branch from c4b7c3a to 4ffda01 Compare December 9, 2023 15:07
@JohnNiang JohnNiang force-pushed the feat/support-configuring-max-session-limit branch from 4ffda01 to 1b60420 Compare December 9, 2023 16:19
@mhalbritter mhalbritter changed the title Support configuring maximum number of sessions for reactive server Add property for maximum number of reactive sessions Dec 11, 2023
@philwebb philwebb added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged status: feedback-provided Feedback has been provided labels Dec 12, 2023
@philwebb philwebb added this to the 3.3.x milestone Dec 12, 2023
@mhalbritter mhalbritter self-assigned this Jan 10, 2024
mhalbritter pushed a commit that referenced this pull request Jan 10, 2024
@mhalbritter mhalbritter modified the milestones: 3.3.x, 3.3.0-M1 Jan 10, 2024
@mhalbritter
Copy link
Contributor

Thank you!

@JohnNiang JohnNiang deleted the feat/support-configuring-max-session-limit branch January 10, 2024 11:47
kzander91 added a commit to kzander91/spring-boot that referenced this pull request Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants