dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55f6886
)
Reduced max TempFSFile::factory() attempts since it uses 12 hex chars.
author
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 9 Sep 2012 00:10:12 +0000
(17:10 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 9 Sep 2012 00:10:12 +0000
(17:10 -0700)
Change-Id: I93dd53f391e74b953c89b4225ab691850ccc66ef
includes/filebackend/TempFSFile.php
patch
|
blob
|
history
diff --git
a/includes/filebackend/TempFSFile.php
b/includes/filebackend/TempFSFile.php
index
b738898
..
5032bf6
100644
(file)
--- a/
includes/filebackend/TempFSFile.php
+++ b/
includes/filebackend/TempFSFile.php
@@
-54,7
+54,7
@@
class TempFSFile extends FSFile {
fclose( $newFileHandle );
break; // got it
}
- if ( $attempt >=
1
5 ) {
+ if ( $attempt >= 5 ) {
wfProfileOut( __METHOD__ );
return null; // give up
}