public function detach($conn)
{
parent::detach($conn);
if ($this->overload) {
if (!$this->maxConcurrency || $this->count() < $this->maxConcurrency) {
$this->overload = false;
$this->enable();
}
}
}
/** * Detach Connection * @param object $conn Connection * @return void */ public function detach($conn) { parent::detach($conn); $this->touchPending($conn->getUrl()); }