-
Notifications
You must be signed in to change notification settings - Fork 12
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
Timeout when purging Cache via Backend #8
Comments
@Chrico Partial flush is probably hard/impossible to pull off because it's an extremely backend-specific problem. Ultimately, we can't do what Stash can't do, and However, |
#14 Does not directly address this issue at its core, but should help avoid situations where it would be neccessary to do a partial flush. The problem was that the FileSystem-driver was filling up the disk without restriction and a flush was taking far longer than PHP allows.
|
We could still use the But #14 should have fixed that, even if we invalidate cache objects which shouldn't be invalidated automatically. |
My thoughts exactly. I'm just hesitant to add all this extra logic when it may not really be needed in the end. The only thing that really bugs me now is that if it happens, we get a white screen of death with a 500. |
Hm.. We could use |
When purging the WP-Stash-Cache via Backend (AdminBar) in a large Multisite, i can see following error message:
\Stash\Driver\FileSystem
The default timeout of php should be either set to 0 (endless) or better, we should purge the cache partially in background via e.G. Cron by splitten up the folder into multiple Crons to delete those.
The text was updated successfully, but these errors were encountered: