X509\Sni: Clear backend instances before performing actual DB queries

This commit is contained in:
Yonas Habteab 2023-09-18 13:45:09 +02:00 committed by Johannes Meyer
parent c170727fc3
commit ac369f9156
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ class Sni extends SniHook
{
public function getHosts(Filter $filter = null)
{
MonitoringBackend::clearInstances();
$hosts = MonitoringBackend::instance()
->select()
->from('hoststatus', [