Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 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. internal/dsync/locker.go

    	// Canceling the context will abort the remote call.
    	// In that case, the resource may or may not be unlocked.
    	Unlock(ctx context.Context, args LockArgs) (bool, error)
    
    	// Refresh the given lock to prevent it from becoming stale
    	Refresh(ctx context.Context, args LockArgs) (bool, error)
    
    	// Unlock (read/write) forcefully for given LockArgs. It should return
    	// * a boolean to indicate success/failure of the operation
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 18 20:44:38 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  3. cmd/warm-backend-azure.go

    	if err != nil {
    		return nil, err
    	}
    
    	// Refresh obtains a fresh token
    	err = spt.Refresh()
    	if err != nil {
    		return nil, err
    	}
    
    	tc := azblob.NewTokenCredential(spt.Token().AccessToken, func(tc azblob.TokenCredential) time.Duration {
    		err := spt.Refresh()
    		if err != nil {
    			return 0
    		}
    		// set the new token value
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  4. 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)
  5. docs/metrics/prometheus/grafana/node/minio-node.json

              "refId": "PrometheusVariableQueryEditor-VariableQuery"
            },
            "refresh": 1,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "type": "query"
          }
        ]
      },
      "time": {
        "from": "now-1h",
        "to": "now"
      },
      "timepicker": {
        "refresh_intervals": [
          "10s",
          "30s",
          "1m",
          "5m",
          "15m",
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 15:14:26 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

              "refId": "StandardVariableQuery"
            },
            "refresh": 1,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "type": "query"
          }
        ]
      },
      "time": {
        "from": "now-1h",
        "to": "now"
      },
      "timepicker": {
        "refresh_intervals": [
          "10s",
          "30s",
          "1m",
          "5m",
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 71.1K bytes
    - Viewed (0)
  7. internal/dsync/dsync_test.go

    	dm2 := NewDRWMutex(ds, "noot")
    
    	dm1.Lock(id, source)
    	dm2.Lock(id, source)
    	dm1.Unlock(context.Background())
    	dm2.Unlock(context.Background())
    }
    
    // Test refreshing lock - refresh should always return true
    func TestSuccessfulLockRefresh(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    	dm := NewDRWMutex(ds, "aap")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. internal/dsync/drwmutex.go

    				log("dsync: Unable to call Refresh failed with %s for %#v at %s\n", err, args, c)
    			} else {
    				ch <- refreshResult{refreshed: refreshed}
    				log("dsync: Refresh returned false for %#v at %s\n", args, c)
    			}
    		}(index, c)
    	}
    
    	// Wait until we have either
    	//
    	// a) received all refresh responses
    	// b) received too many refreshed for quorum to be still possible
    	// c) timed out
    	//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top