From f8a0b4fe176ed663c40c0ed1a6b87af64fe1299e Mon Sep 17 00:00:00 2001 From: Dirk Heilig Date: Mon, 9 Sep 2024 20:29:01 +0200 Subject: [PATCH] add enforced gc --- mqtt2prom/run | 1 + 1 file changed, 1 insertion(+) diff --git a/mqtt2prom/run b/mqtt2prom/run index 498122a..dbcf0ec 100755 --- a/mqtt2prom/run +++ b/mqtt2prom/run @@ -242,6 +242,7 @@ function output(): void 43200 => "12 Hours", 86400 => "Day", ]; + echo "# gc_collect_cycles ".gc_collect_cycles()."\n"; foreach ($stats as $key => $values) { $prom .= "# \n"; foreach ($timeframe as $time => $name) {