mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-18 02:05:36 +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
|
||||
}
|
||||
}
|
||||
|
||||
protected function __destruct()
|
||||
{
|
||||
$this->client->close();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user