Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for dela (0.15 sec)

  1. internal/config/scanner/scanner.go

    	delay := env.Get(EnvDelayLegacy, "")
    	if delay == "" {
    		delay = env.Get(EnvDelay, kvs.GetWithDefault(Delay, DefaultKVS))
    	}
    	cfg.Delay, err = strconv.ParseFloat(delay, 64)
    	if err != nil {
    		return err
    	}
    	maxWait := env.Get(EnvMaxWaitLegacy, "")
    	if maxWait == "" {
    		maxWait = env.Get(EnvMaxWait, kvs.GetWithDefault(MaxWait, DefaultKVS))
    	}
    	cfg.MaxWait, err = time.ParseDuration(maxWait)
    	if err != nil {
    		return err
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    	}
    	if err := ri.load(ctx, api, job); err != nil {
    		return err
    	}
    	if ri.Complete {
    		return nil
    	}
    	globalBatchJobsMetrics.save(job.ID, ri)
    
    	delay := job.Replicate.Flags.Retry.Delay
    	if delay == 0 {
    		delay = batchReplJobDefaultRetryDelay
    	}
    	rnd := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	hasTags := len(r.Flags.Filter.Tags) != 0
    	isMetadata := len(r.Flags.Filter.Metadata) != 0
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		return opts, err
    	}
    	// Support deprecated 'all' query
    	if r.Form.Get("all") == "true" {
    		opts.S3 = true
    		opts.Internal = true
    		opts.Storage = true
    		opts.OS = true
    		// Older mc - cannot deal with more types...
    	}
    	return
    }
    
    // TraceHandler - POST /minio/admin/v3/trace
    // ----------
    // The handler sends http trace to the connected HTTP client.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  4. cmd/batch-rotate.go

    		return err
    	}
    	if ri.Complete {
    		return nil
    	}
    
    	globalBatchJobsMetrics.save(job.ID, ri)
    	lastObject := ri.Object
    
    	delay := job.KeyRotate.Flags.Retry.Delay
    	if delay == 0 {
    		delay = batchKeyRotateJobDefaultRetryDelay
    	}
    
    	rnd := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	selectObj := func(info FileInfo) (ok bool) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/batch-expire.go

    	vc, _ := globalBucketVersioningSys.Get(r.Bucket)
    	retryAttempts := r.Retry.Attempts
    	delay := job.Expire.Retry.Delay
    	if delay == 0 {
    		delay = batchExpireJobDefaultRetryDelay
    	}
    
    	var i int
    	for toExpire := range expireCh {
    		select {
    		case <-ctx.Done():
    			return
    		default:
    		}
    		if i > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  6. docs/batch-jobs/README.md

    	  token: "Bearer xxxxx" # optional authentication token for the notification endpoint
    
    	retry:
    	  attempts: 10 # number of retries for the job before giving up
    	  delay: "500ms" # least amount of delay between each retry
    ```
    
    You can create and run multiple 'replication' jobs at a time there are no predefined limits set.
    
    ## Batch Jobs Terminology
    
    ### Job
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Oct 06 06:00:43 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  7. internal/dsync/dsync_test.go

    	dm.refreshInterval = testDrwMutexUnlockCallTimeout
    	if !dm.GetLock(context.Background(), nil, id, source, Options{Timeout: 5 * time.Minute}) {
    		t.Fatal("GetLock() should be successful")
    	}
    
    	// Add delay to lock server responses to ensure that lock does not timeout
    	for i := range lockServers {
    		lockServers[i].setResponseDelay(5 * testDrwMutexUnlockCallTimeout)
    		defer lockServers[i].setResponseDelay(0)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  8. cmd/batch-job-common-types.go

    type BatchJobRetry struct {
    	line, col int
    	Attempts  int           `yaml:"attempts" json:"attempts"` // number of retry attempts
    	Delay     time.Duration `yaml:"delay" json:"delay"`       // delay between each retries
    }
    
    var _ yaml.Unmarshaler = &BatchJobRetry{}
    
    // UnmarshalYAML - BatchJobRetry extends unmarshal to extract line, column information
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. cmd/metrics-v2_test.go

    		},
    		{
    			val:   0.79,
    			label: labels[2],
    		},
    	}
    	ticker := time.NewTicker(1 * time.Millisecond)
    	defer ticker.Stop()
    	for _, obs := range observations {
    		// Send observations once every 1ms, to simulate delay between
    		// observations. This is to test the channel based
    		// synchronization used internally.
    		select {
    		case <-ticker.C:
    			ttfbHist.With(prometheus.Labels{"api": obs.label}).Observe(obs.val)
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. cmd/batch-expire_test.go

        token: Bearer xxxxx # optional authentication token for the notification endpoint
      
      retry:
        attempts: 10 # number of retries for the job before giving up
        delay: 500ms # least amount of delay between each retry
    `
    	var job BatchJobRequest
    	err := yaml.UnmarshalStrict([]byte(expireYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-expire yaml", err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top