Manual:CleanupUploadStash.php/en

Details
The cleanupUploadStash.php script removes old or broken uploads from the temporary file storage and cleans up associated database records from the table $uploadstash.

All files created less than the last n seconds ago as defined by $UploadStashMaxAge will stay; older files will be deleted.