Excel webhook sends throttled

This commit is contained in:
2026-06-16 15:33:52 +02:00
parent 57dfae624d
commit 862f0a3e8e
+2 -1
View File
@@ -147,7 +147,7 @@ function trigger_excel_webhook(string $externalRef, array $localEnv): array
}
$headers = build_n8n_webhook_headers($localEnv);
throttle_webhook_channel('excel', 10);
throttle_webhook_channel('excel', 5);
$result = post_json($url, ['Bestellnummer' => $externalRef], $headers, 20);
return [
@@ -251,6 +251,7 @@ function dispatch_order_import_webhooks(PDO $pdo, array $localEnv, int $limit =
continue;
}
throttle_webhook_channel('excel', 5);
$result = post_json($url, ['Bestellnummer' => $externalRef], $headers, 20);
$summary['processed']++;