mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
fix: set audit/logger webhook retry interval to maximum 1m (#20404)
This commit is contained in:
+14
-2
@@ -76,6 +76,18 @@ var (
|
||||
Optional: true,
|
||||
Type: "string",
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: MaxRetry,
|
||||
Description: `maximum retry count before we start dropping logged event(s)`,
|
||||
Optional: true,
|
||||
Type: "number",
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: RetryInterval,
|
||||
Description: `sleep between each retries, allowed maximum value is '1m' e.g. '10s'`,
|
||||
Optional: true,
|
||||
Type: "duration",
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: config.Comment,
|
||||
Description: config.DefaultComment,
|
||||
@@ -133,13 +145,13 @@ var (
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: MaxRetry,
|
||||
Description: `maximum retry count before we start dropping upto batch_size events`,
|
||||
Description: `maximum retry count before we start dropping audit event(s)`,
|
||||
Optional: true,
|
||||
Type: "number",
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: RetryInterval,
|
||||
Description: `maximum retry sleeps between each retries`,
|
||||
Description: `sleep between each retries, allowed maximum value is '1m' e.g. '10s'`,
|
||||
Optional: true,
|
||||
Type: "duration",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user