Add http_timeout to audit webhook configurations (#20421)

This commit is contained in:
Sveinn
2024-09-11 22:20:42 +00:00
committed by GitHub
parent bc527eceda
commit 3bae73fb42
3 changed files with 66 additions and 35 deletions
+12
View File
@@ -88,6 +88,12 @@ var (
Optional: true,
Type: "duration",
},
config.HelpKV{
Key: httpTimeout,
Description: `defines the maximum duration for each http request`,
Optional: true,
Type: "duration",
},
config.HelpKV{
Key: config.Comment,
Description: config.DefaultComment,
@@ -155,6 +161,12 @@ var (
Optional: true,
Type: "duration",
},
config.HelpKV{
Key: httpTimeout,
Description: `defines the maximum duration for each http request`,
Optional: true,
Type: "duration",
},
config.HelpKV{
Key: config.Comment,
Description: config.DefaultComment,