diff --git a/modules/erp/import-integration/service.php b/modules/erp/import-integration/service.php index 445d1e1..4a0fe02 100644 --- a/modules/erp/import-integration/service.php +++ b/modules/erp/import-integration/service.php @@ -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']++;