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
{{ message }}
Repository navigation
[6.x] Delete remote image sources after each queued transform #20803
ImageTransformHelper::getLocalImageSource() downloads a remote image's original into the asset sources directory, and deletes it in an app()->terminating() callback. A long-running queue:work process only terminates when it exits, so a worker that generates transforms for many remote images keeps every original on disk until it restarts, and can fill local storage.
This already happens on 6.x with the default maxCachedCloudImageSize of 0. #20780 removes that setting, so it will apply to every site.
The source should also be deleted after each queued job, for example from a JobProcessed/JobFailed listener, or a finally block in the job that generates the transform.
Activity
linear-code commentedon Nov 17, 2026
CMS-2724