Unusually long processing on taxonomy terms and max_exectution timeout

Created on 24 October 2024, 4 months ago

Problem/Motivation

Hi,
I have a taxonomy term with quite a few automator enabled fields. I'm delegating most of the to the cron queue. However, even a handful of fields take up the full 300 seconds of the PHP max_execution time. Ultimately, the process seems to save new terms but presents the user with a WSOD and the message:

Fatal error: Maximum execution time of 300 seconds exceeded in /var/www/***/core/lib/Drupal/Core/Cache/CacheableMetadata.php on line 169.

I can't judge whether or not the long execution time is normal (there is a dalle-2 call involved) but hitting the PHP limit is not ideal in general, I think.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

AI Automators

Created by

🇹🇭Thailand AlfTheCat

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024