Skip to content

[FrameworkBundle] Remove default value for gc_probability config option #20204

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

raphael-geffroy
Copy link
Contributor

Fixes #20196

@carsonbot carsonbot added this to the 7.2 milestone Sep 6, 2024
@OskarStark OskarStark changed the title [FrameworkBundle] Remove default value for gc_probability config option [FrameworkBundle] Remove default value for gc_probability config option Sep 6, 2024
@@ -1852,6 +1852,8 @@ started on every session initialization. The probability is calculated by
using ``gc_probability`` / ``gc_divisor``, e.g. 1/100 means there is a 1%
chance that the GC process will start on each request.

If not set, ``php.ini``'s `session.gc_probability`_ directive will be relied on.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe with a versionadded directive to indicate this is a new behavior ?
And we also need to remove default value few lines above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the feedback ! Just committed your recommandations.

@javiereguiluz javiereguiluz force-pushed the remove-default-value-for-gc-probability-config-option branch from cfb03e7 to 31a33bf Compare September 9, 2024 06:39
@javiereguiluz javiereguiluz merged commit 65b65a2 into symfony:7.2 Sep 9, 2024
3 checks passed
@javiereguiluz
Copy link
Member

Merged! Raphaël thanks a lot for this contribution ... and congrats on your first Symfony Docs contribution 🎉

@raphael-geffroy
Copy link
Contributor Author

Merged! Raphaël thanks a lot for this contribution ... and congrats on your first Symfony Docs contribution 🎉

Thank you for pointing me those 'good first issues' ! I'm glad I could take a first step in the symfony-docs contribution 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants