Reduced max TempFSFile::factory() attempts since it uses 12 hex chars.
Change-Id: I93dd53f391e74b953c89b4225ab691850ccc66ef
This commit is contained in:
parent
55f6886df3
commit
b6f5a2904a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue