Manual:$wgUploadStashMaxAge

Details
The maximum age of temporary (incomplete) uploaded files. Used only by the cleanupUploadStash.php maintenance script.