Manual:$wgUploadStashMaxAge

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