Skip to content

Timeout when purging Cache via Backend #8

@Chrico

Description

@Chrico

When purging the WP-Stash-Cache via Backend (AdminBar) in a large Multisite, i can see following error message:

Fatal error: Maximum execution time of 30 seconds exceeded in /html/????/deployments/releases/2/vendor/tedivm/stash/src/Stash/Utilities.php on line 153

  • PHP: 7.2.x FPM
  • WP_STASH_DRIVER: \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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions