Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for minutes (0.19 sec)

  1. cmd/common-main.go

    	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 func() {
    		// Baremetal setups set DNS refresh window up to dnsTTL duration.
    		t := time.NewTicker(dnsTTL)
    		defer t.Stop()
    		for {
    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