From 6127e5a4e9722c1b47f5a9810fd41892b675557b Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 6 Nov 2024 17:48:41 +0100 Subject: [PATCH] DEBUG: wdt: make the blocked traffic warning delay configurable The new global "warn-blocked-traffic-after" allows one to configure after how much time a warning should be emitted when traffic is blocked. --- doc/configuration.txt | 19 ++++++++++++ src/debug.c | 7 +++-- src/wdt.c | 72 +++++++++++++++++++++++++++++++++++++++---- 3 files changed, 89 insertions(+), 9 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 23dfd5d2b..7faf865ab 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -1562,6 +1562,7 @@ The following keywords are supported in the "global" section : * Debugging - anonkey - quiet + - warn-blocked-traffic-after - zero-warning * HTTPClient @@ -4394,6 +4395,24 @@ quiet Do not display any message during startup. It is equivalent to the command- line argument "-q". +warn-blocked-traffic-after