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:
4c6f3d8
)
[FileBackend] Avoid concurrency for the 1 op case in doQuickOperationsInternal().
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 15 May 2013 17:34:31 +0000
(10:34 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 15 May 2013 17:35:51 +0000
(10:35 -0700)
Change-Id: I6526d3b77fc078d80a0fb537d504a7fabcbb4c41
includes/filebackend/FileBackendStore.php
patch
|
blob
|
history
diff --git
a/includes/filebackend/FileBackendStore.php
b/includes/filebackend/FileBackendStore.php
index
e20c6fc
..
8b365b5
100644
(file)
--- a/
includes/filebackend/FileBackendStore.php
+++ b/
includes/filebackend/FileBackendStore.php
@@
-1193,7
+1193,7
@@
abstract class FileBackendStore extends FileBackend {
$this->clearCache();
$supportedOps = array( 'create', 'store', 'copy', 'move', 'delete', 'null' );
- $async = ( $this->parallelize === 'implicit' );
+ $async = ( $this->parallelize === 'implicit'
&& count( $ops ) > 1
);
$maxConcurrency = $this->concurrency; // throttle
$statuses = array(); // array of (index => Status)