Provide option to override the hardcoded process time limit

Created on 30 June 2025, 3 days ago

Problem/Motivation

ImagemagickExecManager has a hardcoded time limit of 60 seconds. While 60 second is already quite long, there are situations where it does not suffice.

For example, if you have (legacy) project with images that are way too big (dimensions and or filesize, you could downsize them using the image_resize module, but you are likely to still hit the duration limit.

Steps to reproduce

Proposed resolution

There are many ways to make this configurable.

Since the default value does make sense for 99% projects , I've opted to use Drupal\Core\Site\Settings for my case.
This makes it a bit more 'difficult' to add an override, compared to providing a config field for example.

Regardless of the solution, this should be offered as a 'use at your own risk' option.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

4.1

Component

Code

Created by

🇧🇪Belgium andreasderijcke Antwerpen / Gent

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024