Skip to content

Conversation

janedbal
Copy link
Contributor

When cache is pulled from some storage (e.g. S3), it gets recent atimes and this does not work. That causes unwanted cache swelling.
@ondrejmirtes
Copy link
Member

I don't think this is a great fix. Other systems might have problems with different timestamp metadata.

PHPStan should keep some kind of "journal" with real access times for each generated container, and delete them based on that.

@janedbal
Copy link
Contributor Author

PHPStan should keep some kind of "journal" with real access times for each generated container, and delete them based on that.

I like that. Closing

@janedbal janedbal closed this Aug 19, 2024
@ondrejmirtes
Copy link
Member

Here's a quick attempt 57c6588

@janedbal
Copy link
Contributor Author

janedbal commented Oct 8, 2024

Glad you are looking into this! This was pretty major issue in my eyes :) Thanks!

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