By dave reid on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
Any files that return TRUE for the isTemporary() method are automatically removed after 6 hours from being marked as temporary. Temporary files are files that either failed to be uploaded and moved successfully, or files that are no longer referenced by any fields in content (i.e. orphaned).
This 6 hour window is now exposed as the system.file.temporary_maximum_age configuration variable which can be changed from the admin/config/media/file-system page. If this value is set to zero, it means the automatic cleanup will be disabled and no temporary or orphaned files will be removed automatically.
Impacts:
Site builders, administrators, editors
Module developers