Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for refresh (0.2 sec)

  1. cmd/common-main.go

    		} 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 {
    			select {
    			case <-t.C:
    				globalDNSCache.Refresh()
    
    			case <-GlobalContext.Done():
    				return
    			}
    		}
    	}()
    }
    
    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)
  2. cmd/bucket-targets.go

    )
    
    type arnTarget struct {
    	Client      *TargetClient
    	lastRefresh time.Time
    }
    
    // arnErrs represents number of errors seen for a ARN and if update is in progress
    // to refresh remote targets from bucket metadata.
    type arnErrs struct {
    	count            int64
    	updateInProgress bool
    	bucket           string
    }
    
    // BucketTargetSys represents bucket targets subsystem
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. cmd/tier.go

    	defer config.Unlock()
    
    	switch err {
    	case nil:
    		break
    	case errConfigNotFound: // nothing to reload
    		// To maintain the invariance that lastRefreshedAt records the
    		// timestamp of last successful refresh
    		config.lastRefreshedAt = UTCNow()
    		return nil
    	default:
    		return err
    	}
    
    	// Reset drivercache built using current config
    	for k := range config.drivercache {
    		delete(config.drivercache, k)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. internal/kms/kes.go

    	if err != nil {
    		logger.LogOnceIf(ctx, fmt.Errorf("%s, using default of 10s", err.Error()), "refresh-kms-master-key")
    		cacheDuration = defaultCacheDuration
    	}
    	if cacheDuration < time.Second {
    		logger.LogOnceIf(ctx, errors.New("cache duration is less than 1s, using default of 10s"), "refresh-kms-master-key")
    		cacheDuration = defaultCacheDuration
    	}
    	timer := time.NewTimer(cacheDuration)
    	defer timer.Stop()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. cmd/globals.go

    	// GlobalStaleUploadsCleanupInterval - Cleanup interval when the stale uploads cleanup is initiated.
    	GlobalStaleUploadsCleanupInterval = time.Hour * 6 // 6 hrs.
    
    	// Refresh interval to update in-memory iam config cache.
    	globalRefreshIAMInterval = 10 * time.Minute
    
    	// Limit of location constraint XML for unauthenticated PUT bucket operations.
    	maxLocationConstraintSize = 3 * humanize.MiByte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    	//
    	// An in-memory cache must be replaced only if we know for sure that the
    	// values loaded from disk are not stale. They might be stale if the
    	// cached.updatedAt is more recent than the refresh cycle began.
    	if cache.updatedAt.Before(loadedAt) {
    		// No one has updated anything since the config was loaded,
    		// so we just replace whatever is on the disk into memory.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/iam.go

    				iamLogIf(ctx, fmt.Errorf("Failure in periodic refresh for IAM (took %.2fs): %v", time.Since(refreshStart).Seconds(), err), logger.WarningKind)
    			} else {
    				took := time.Since(refreshStart).Seconds()
    				if took > maxDurationSecondsForLog {
    					// Log if we took a lot of time to load.
    					logger.Info("IAM refresh took %.2fs", took)
    				}
    			}
    
    			// Purge expired STS credentials.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. cmd/site-replication.go

    				took := time.Since(refreshStart).Seconds()
    				if took > maxRefreshDurationSecondsForLog {
    					// Log if we took a lot of time.
    					logger.Info("Site replication healing refresh took %.2fs", took)
    				}
    
    				// wait for 200 millisecond, if we are experience lot of I/O
    				waitForLowIO(runtime.GOMAXPROCS(0), 200*time.Millisecond, currentHTTPIO)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  9. cmd/storage-datatypes_gen.go

    		return
    	}
    	z.SuccessorModTime, err = dc.ReadTime()
    	if err != nil {
    		err = msgp.WrapError(err, "SuccessorModTime")
    		return
    	}
    	z.Fresh, err = dc.ReadBool()
    	if err != nil {
    		err = msgp.WrapError(err, "Fresh")
    		return
    	}
    	z.Idx, err = dc.ReadInt()
    	if err != nil {
    		err = msgp.WrapError(err, "Idx")
    		return
    	}
    	if dc.IsNil() {
    		err = dc.ReadNil()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    		Version string `json:"version"` // Version of 'xl' format.
    		Disk    string `json:"drive"`   // Disk field carries assigned disk uuid.
    		// JBOD field carries the input disk order generated the first
    		// time when fresh disks were supplied.
    		JBOD []string `json:"jbod"`
    	} `json:"xl"` // Erasure field holds xl format.
    }
    
    // Represents the V2 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top