Skip to content

Commit

Permalink
allow customize collector
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Dec 1, 2015
1 parent fa04ddf commit a319674
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Processor/RequestRateProcessor.php
Expand Up @@ -44,10 +44,6 @@ public function setCollector($type, $configuratorCallable = null)
{
$className = $this->detector->getCollectorClassName($type);

if(!class_exists($className)) {
throw new \Exception('Collector ' . $className . ' not found');
}

$this->collector = new $className(
$this->detector->getKey() . ':' . $this->getName(),
$this->requestNumber,
Expand Down

0 comments on commit a319674

Please sign in to comment.