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
If I save a volume from Craft → Settings → Assets, this triggers an ImageOptimize rebuild task (yay). However, it looks like there is a single task for the whole volume, with only a single TTR. With asset volumes containing many (and large) images, this volume's task TTR is often exceeded, failing the task and leaving the images unprocessed.
Solution
Is it possible to break up a volume optimize task into sub-tasks per image contained in the volume?
Describe alternatives you have considered
Increasing Craft's queue TTR to 10-15m still isn't enough for more voluminous volumes.
Running php craft image-optimize/optimize/create from the CLI works without timing out, but not accessible to non-terminal users.
Problem
If I save a volume from Craft → Settings → Assets, this triggers an ImageOptimize rebuild task (yay). However, it looks like there is a single task for the whole volume, with only a single TTR. With asset volumes containing many (and large) images, this volume's task TTR is often exceeded, failing the task and leaving the images unprocessed.
Solution
Is it possible to break up a volume optimize task into sub-tasks per image contained in the volume?
Describe alternatives you have considered
Increasing Craft's queue TTR to 10-15m still isn't enough for more voluminous volumes.
Running
php craft image-optimize/optimize/create
from the CLI works without timing out, but not accessible to non-terminal users.Additional context
Craft 3.6.11.2 • PHP 8.0.3 • ImageOptimize 1.6.30 • AsyncQueue 2.2.0
The text was updated successfully, but these errors were encountered: