Reduced max TempFSFile::factory() attempts since it uses 12 hex chars.

Change-Id: I93dd53f391e74b953c89b4225ab691850ccc66ef
This commit is contained in:
Aaron Schulz 2012-09-08 17:10:12 -07:00
parent 55f6886df3
commit b6f5a2904a

View file

@ -54,7 +54,7 @@ class TempFSFile extends FSFile {
fclose( $newFileHandle );
break; // got it
}
if ( $attempt >= 15 ) {
if ( $attempt >= 5 ) {
wfProfileOut( __METHOD__ );
return null; // give up
}