mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
X509\Sni: Ping DB connection before using it
This commit is contained in:
parent
84eeeaa57d
commit
9be9d072f1
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ class Sni extends SniHook
|
|||
*/
|
||||
public function getHosts(Filter $filter = null): Generator
|
||||
{
|
||||
$this->getDb()->ping();
|
||||
|
||||
$queryHost = Host::on($this->getDb());
|
||||
|
||||
$queryHost->getSelectBase();
|
||||
|
|
|
|||
Loading…
Reference in a new issue