Manual:$wgUploadStashMaxAge

Details
The maximum age of temporary (incomplete) uploaded files.