From 5904fe57bca954d8ca937bb71f47ba83c264a192 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. (cherry picked from commit 6127e5a4e9722c1b47f5a9810fd41892b675557b) Signed-off-by: Willy Tarreau --- 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 962d5d3..79d8cbd 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -1459,6 +1459,7 @@ The following keywords are supported in the "global" section : * Debugging - anonkey - quiet + - warn-blocked-traffic-after - zero-warning * HTTPClient @@ -4194,6 +4195,24 @@ quiet Do not display any message during startup. It is equivalent to the command- line argument "-q". +warn-blocked-traffic-after