dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c91a71c
)
Merge "Make getScopedLockAndFlush() in Category::refreshCounts non-blocking" into...
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Mon, 23 Apr 2018 16:21:42 +0000
(16:21 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 23 Apr 2018 16:21:42 +0000
(16:21 +0000)
includes/Category.php
patch
|
blob
|
history
diff --git
a/includes/Category.php
b/includes/Category.php
index
9241730
..
6104b8a
100644
(file)
--- a/
includes/Category.php
+++ b/
includes/Category.php
@@
-328,7
+328,7
@@
class Category {
$dbw = wfGetDB( DB_MASTER );
# Avoid excess contention on the same category (T162121)
$name = __METHOD__ . ':' . md5( $this->mName );
- $scopedLock = $dbw->getScopedLockAndFlush( $name, __METHOD__,
1
);
+ $scopedLock = $dbw->getScopedLockAndFlush( $name, __METHOD__,
0
);
if ( !$scopedLock ) {
return false;
}