Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TTL (0.14 sec)

  1. cmd/server-main.go

    		Hidden: true,
    		EnvVar: "MINIO_INTERFACE",
    	},
    	cli.DurationFlag{
    		Name:   "dns-cache-ttl",
    		Usage:  "custom DNS cache TTL",
    		Hidden: true,
    		Value: func() time.Duration {
    			if orchestrated {
    				return 30 * time.Second
    			}
    			return 10 * time.Minute
    		}(),
    		EnvVar: "MINIO_DNS_CACHE_TTL",
    	},
    	cli.IntFlag{
    		Name:   "max-idle-conns-per-host",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  2. cmd/common-main.go

    }
    
    func runDNSCache(ctx *cli.Context) {
    	dnsTTL := ctx.Duration("dns-cache-ttl")
    	// Check if we have configured a custom DNS cache TTL.
    	if dnsTTL <= 0 {
    		if orchestrated {
    			dnsTTL = 30 * time.Second
    		} else {
    			dnsTTL = 10 * time.Minute
    		}
    	}
    
    	// Call to refresh will refresh names in cache.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top