X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FCategory.php;h=6104b8a65aecf90ea4a02362956d775bb2150891;hb=abb85b0abafa7d6920a4ac22538b4d0c541f7e02;hp=9241730a04de63f96de79ec5b237524a2319c8b9;hpb=2324d1af57aebfc5a5ddcbbd01b4d974d989fd5f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Category.php b/includes/Category.php index 9241730a04..6104b8a65a 100644 --- 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; }