From 1637d55d8e1b5424fe873ee41e71ce9e0779d95f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Sun, 8 Dec 2024 16:42:39 +0100 Subject: [PATCH] fix: time conversion s to ms --- src/Service/InfluxdbService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/InfluxdbService.php b/src/Service/InfluxdbService.php index c702d96..c031de4 100644 --- a/src/Service/InfluxdbService.php +++ b/src/Service/InfluxdbService.php @@ -50,7 +50,7 @@ readonly class InfluxdbService 'starttransfer_time_us' => $info['starttransfer_time_us'], 'size_download' => $info['size_download'], 'ssl_verify_result' => $info['ssl_verify_result'], - ], floor($info['start_time'] * 3), + ], (int) floor($info['start_time'] * 1e3), WritePrecision::MS) ); }