Skip to content

Updating taxonomy with many posts results in timeout #430

@SuzukiEdo

Description

@SuzukiEdo

Description:

When a taxonomy with 100 more posts is updated, it can timeout the PHP's max execution time.

To Reproduce:
Steps to reproduce the behavior:

  1. Create a text category
  2. Add posts to it using something like wp dummy content. 100+ preferably.
  3. Update something in the category. Better if it's a term meta value.
  4. See error

Expected behavior
When a term is updated, all posts with that term are as well. For us is around 130, but on bigger sites that handle dozens of thousands of posts in different categories, this can/will time out. The plugin can handle this in a more gracefully way.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: 129

Additional context
Our production servers are set to timeout at 30s. Increasing it might fix the problem in the short term, but is not a real solution to the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    indexingIssues around the indexing process

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions