mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
allow DNS cache TTL to be configurable (#17709)
this is added for now as a hidden variable
This commit is contained in:
@@ -121,6 +121,13 @@ var ServerFlags = []cli.Flag{
|
||||
Hidden: true,
|
||||
EnvVar: "MINIO_INTERFACE",
|
||||
},
|
||||
cli.DurationFlag{
|
||||
Name: "dns-cache-ttl",
|
||||
Usage: "custom DNS cache TTL for baremetal setups",
|
||||
Hidden: true,
|
||||
Value: 10 * time.Minute,
|
||||
EnvVar: "MINIO_DNS_CACHE_TTL",
|
||||
},
|
||||
cli.StringSliceFlag{
|
||||
Name: "ftp",
|
||||
Usage: "enable and configure an FTP(Secure) server",
|
||||
|
||||
Reference in New Issue
Block a user