From 21e0f48fd57ba4048e5d2b6d3ee0a3f19b41b2c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Sat, 19 Sep 2026 20:30:15 +0200 Subject: [PATCH] =?UTF-8?q?OTC-Response=20vor=20Throttling-Warnung=20sch?= =?UTF-8?q?=C3=BCtzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/shared/webhook_throttle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shared/webhook_throttle.php b/modules/shared/webhook_throttle.php index eb063a0..2407421 100644 --- a/modules/shared/webhook_throttle.php +++ b/modules/shared/webhook_throttle.php @@ -10,7 +10,7 @@ function throttle_webhook_channel(string $channel, int $minIntervalSeconds): voi $sanitizedChannel = preg_replace('/[^a-z0-9_-]+/i', '_', $channel) ?? 'default'; $lockPath = sys_get_temp_dir() . '/erp_naurua_webhook_throttle_' . $sanitizedChannel . '.lock'; - $handle = fopen($lockPath, 'c+'); + $handle = @fopen($lockPath, 'c+'); if ($handle === false) { return; }