X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCategory.php;h=6104b8a65aecf90ea4a02362956d775bb2150891;hb=e765067d8a5f96f72dbca96f14ff728a75806966;hp=9241730a04de63f96de79ec5b237524a2319c8b9;hpb=16c80e429be5904fb42a93f260f8de3d18f0c692;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; }