Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for udpate (0.47 sec)

  1. cmd/license-update.go

    )
    
    // initlicenseUpdateJob start the periodic license update job in the background.
    func initLicenseUpdateJob(ctx context.Context, objAPI ObjectLayer) {
    	go func() {
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		// Leader node (that successfully acquires the lock inside licenceUpdaterLoop)
    		// will keep performing the license update. If the leader goes down for some
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. internal/config/browser/browser.go

    	HSTSIncludeSubdomains bool   `json:"hsts_include_subdomains"`
    	HSTSPreload           bool   `json:"hsts_preload"`
    	ReferrerPolicy        string `json:"referrer_policy"`
    }
    
    // Update Updates browser with new config
    func (browseCfg *Config) Update(newCfg Config) {
    	configLock.Lock()
    	defer configLock.Unlock()
    	browseCfg.CSPPolicy = newCfg.CSPPolicy
    	browseCfg.HSTSSeconds = newCfg.HSTSSeconds
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/tier-last-day-stats.go

    }
    
    // forwardTo moves time to t, clearing entries between last update and t.
    func (l *lastDayTierStats) forwardTo(t time.Time) {
    	if t.IsZero() {
    		t = time.Now()
    	}
    
    	since := t.Sub(l.UpdatedAt).Hours()
    	// within the hour since l.UpdatedAt
    	if since < 1 {
    		return
    	}
    
    	idx, lastIdx := t.Hour(), l.UpdatedAt.Hour()
    
    	l.UpdatedAt = t // update to the latest time index
    
    	if since >= 24 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. docs/tls/kubernetes/README.md

    ## 2. Create Kubernetes secret
    
    [Kubernetes secrets](https://kubernetes.io/docs/concepts/configuration/secret) are intended to hold sensitive information.
    We'll use secrets to hold the TLS certificate and key. To create a secret, update the paths to `private.key` and `public.crt`
    below.
    
    Then type
    
    ```sh
    kubectl create secret generic tls-ssl-minio --from-file=path/to/private.key --from-file=path/to/public.crt
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3K bytes
    - Viewed (0)
  5. internal/rest/rpc-stats.go

    	}
    	if v := atomic.LoadUint64(&globalStats.tcpDialCount); v > 0 {
    		s.DialAvgDuration = atomic.LoadUint64(&globalStats.tcpDialTotalDur) / v
    	}
    	return s
    }
    
    // Return a function which update the global stats related to tcp connections
    func setupReqStatsUpdate(req *http.Request) (*http.Request, func()) {
    	var dialStart, dialEnd int64
    
    	trace := &httptrace.ClientTrace{
    		ConnectStart: func(network, addr string) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 16:27:58 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  6. internal/logger/targets.go

    	defer swapSystemMuRW.Unlock()
    
    	if consoleTgt == nil {
    		if t.Type() == types.TargetConsole {
    			consoleTgt = t
    		}
    	}
    	updated := append(make([]Target, 0, len(systemTargets)+1), systemTargets...)
    	updated = append(updated, t)
    	systemTargets = updated
    
    	return nil
    }
    
    func initKafkaTargets(ctx context.Context, cfgMap map[string]kafka.Config) ([]Target, []error) {
    	tgts := []Target{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt.go

    		return err
    	}
    
    	defaultExpiryDuration, err := GetDefaultExpiration(dsecs)
    	if err != nil {
    		return err
    	}
    
    	claims["exp"] = time.Now().UTC().Add(defaultExpiryDuration).Unix() // update with new expiry.
    	return nil
    }
    
    const (
    	audClaim = "aud"
    	azpClaim = "azp"
    )
    
    // Validate - validates the id_token.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  8. cmd/config-current_test.go

    	}
    
    	if err := saveServerConfig(context.Background(), objLayer, globalServerConfig); err != nil {
    		t.Fatalf("Unable to save updated config file %s", err)
    	}
    
    	// Initialize server config.
    	if err := loadConfig(objLayer, nil); err != nil {
    		t.Fatalf("Unable to initialize from updated config file %s", err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Dec 19 19:10:14 GMT 2022
    - 2K bytes
    - Viewed (0)
  9. Dockerfile.release.old_cpu

    ENV MINIO_ACCESS_KEY_FILE=access_key \
        MINIO_SECRET_KEY_FILE=secret_key \
        MINIO_ROOT_USER_FILE=access_key \
        MINIO_ROOT_PASSWORD_FILE=secret_key \
        MINIO_KMS_SECRET_KEY_FILE=kms_master_key \
        MINIO_UPDATE_MINISIGN_PUBKEY="RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav" \
        MINIO_CONFIG_ENV_FILE=config.env \
        MC_CONFIG_DIR=/tmp/.mc
    
    COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 30 09:41:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. .github/workflows/go-cross.yml

    name: Crosscompile
    
    on:
      pull_request:
        branches:
          - master
          - next
    
    # This ensures that previous jobs for the PR are canceled when the PR is
    # updated.
    concurrency:
      group: ${{ github.workflow }}-${{ github.head_ref }}
      cancel-in-progress: true
    
    permissions:
      contents: read
    
    jobs:
      build:
        name: Build Tests with Go ${{ matrix.go-version }} on ${{ matrix.os }}
        runs-on: ${{ matrix.os }}
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 09:25:58 GMT 2024
    - 970 bytes
    - Viewed (0)
Back to top