You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Create a text category
Add posts to it using something like wp dummy content. 100+ preferably.
Update something in the category. Better if it's a term meta value.
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.
The text was updated successfully, but these errors were encountered:
Closest idea I can think of to help, without reverting the entire feature, would be a filter that can be used to return early, or perhaps have the arguments for the code spot filterable so that it's not fetching all the posts.
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:
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):
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.
The text was updated successfully, but these errors were encountered: