mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-21 19:55:35 +00:00
fix: add destructor in InfluxDbService
This commit is contained in:
parent
492e77420f
commit
3308dd35c4
@ -90,4 +90,9 @@ readonly class InfluxdbService
|
|||||||
// TODO: Add a retry mechanism if writing fails
|
// TODO: Add a retry mechanism if writing fails
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function __destruct()
|
||||||
|
{
|
||||||
|
$this->client->close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user