mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
Config: do not count twice for benchmark
This commit is contained in:
parent
cc34de9b4d
commit
d32f22d493
@ -684,11 +684,10 @@ apply Service for (title => params in host.vars["%s"]) {
|
||||
$this->zoneMap[$object->get('id')] = $object->getObjectName();
|
||||
}
|
||||
}
|
||||
|
||||
$object->renderToConfig($this);
|
||||
}
|
||||
|
||||
Benchmark::measure(sprintf('%ss done', $type, count($objects)));
|
||||
Benchmark::measure(sprintf('%ss done', $type));
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user