Skip to content
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

Sync templates, var/cache mount, node 22, session clean #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicolas-grekas
Copy link
Contributor

No description provided.

- type: has_composer_package
value: symfony/flex
- type: has_composer_package
value: symfonycorp/platformsh-meta
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was the only significant diff with 30-symfony-flex.yaml, yet we don't use this meta anymore (there is no recipe attached to it)

@@ -47,7 +48,7 @@ template: |
passthru: "/{{.FrontController}}"

mounts:
"/var": { source: storage, source_path: var }
"/var/cache": { source: instance, source_path: var/cache }
Copy link
Contributor Author

@nicolas-grekas nicolas-grekas Jul 30, 2024

Choose a reason for hiding this comment

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

For thoughts: var/cache/prod/pools contains parts that would be better in a storage (app pools) and others which are better in instance (system pools).
We might check how to make a cleaner separation in Symfony itself.

Copy link
Contributor Author

@nicolas-grekas nicolas-grekas Jul 30, 2024

Choose a reason for hiding this comment

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

PR updated

@nicolas-grekas nicolas-grekas changed the title Sync templates, var/cache mount, node 21 Sync templates, var/cache mount, node 22 Aug 1, 2024
@nicolas-grekas nicolas-grekas force-pushed the love branch 2 times, most recently from 0107841 to 680beca Compare August 1, 2024 14:01
@nicolas-grekas nicolas-grekas changed the title Sync templates, var/cache mount, node 22 Sync templates, var/cache mount, node 22, composer audit Aug 1, 2024
@nicolas-grekas
Copy link
Contributor Author

Updated to use composer audit

@nicolas-grekas nicolas-grekas changed the title Sync templates, var/cache mount, node 22, composer audit Sync templates, var/cache mount, node 22, session clean Sep 4, 2024
@nicolas-grekas
Copy link
Contributor Author

Updated with a cron task to clean expired php sessions and set session.gc_probability to 0

@nicolas-grekas nicolas-grekas force-pushed the love branch 2 times, most recently from 0511734 to cd6c4b6 Compare September 4, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants