mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Make sure DB profiler is disabled per default to avoid memory leaks
This commit is contained in:
parent
8615b644c0
commit
d63fee064d
@ -163,6 +163,7 @@ class Connection implements DatasourceInterface
|
||||
}
|
||||
$this->conn = Zend_Db::factory($adapter, $adapterParamaters);
|
||||
$this->conn->setFetchMode(Zend_Db::FETCH_OBJ);
|
||||
$this->conn->getProfiler()->setEnabled(false);
|
||||
}
|
||||
|
||||
public function getConnection()
|
||||
|
Loading…
x
Reference in New Issue
Block a user