Merge "Use quickUserCan instead of userCan for searches"
[lhc/web/wiklou.git] / includes / poolcounter / PoolCounterWork.php
index 523e9e0..1bc1a8b 100644 (file)
@@ -112,6 +112,10 @@ abstract class PoolCounterWork {
                }
 
                switch ( $status->value ) {
+                       case PoolCounter::LOCK_HELD:
+                               // Better to ignore nesting pool counter limits than to fail.
+                               // Assume that the outer pool limiting is reasonable enough.
+                               /* no break */
                        case PoolCounter::LOCKED:
                                $result = $this->doWork();
                                $this->poolCounter->release();