Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 76 for concurrent (0.17 sec)

  1. internal/logger/target/http/http.go

    	"github.com/valyala/bytebufferpool"
    )
    
    const (
    	// Timeout for the webhook http call
    	webhookCallTimeout = 3 * time.Second
    
    	// maxWorkers is the maximum number of concurrent http loggers
    	maxWorkers = 16
    
    	// maxWorkers is the maximum number of concurrent batch http loggers
    	maxWorkersWithBatchEvents = 4
    
    	// the suffix for the configured queue dir where the logs will be persisted.
    	httpLoggerExtension = ".http.log"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  2. docs/bucket/replication/DESIGN.md

    ### Existing object replication
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers-pools.go

    	if objectAPI == nil {
    		return
    	}
    
    	// NB rebalance-start admin API is always coordinated from first pool's
    	// first node. The following is required to serialize (the effects of)
    	// concurrent rebalance-start commands.
    	if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal {
    		for nodeIdx, proxyEp := range globalProxyEndpoints {
    			if proxyEp.Endpoint.Host == ep.Host {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  4. cmd/data-scanner-metric.go

    		if strptr != nil {
    			res = append(res, pathJoin(prefix, name, *strptr))
    		}
    		return true
    	})
    	return res
    }
    
    // activeDrives returns the number of currently active disks.
    // (since this is concurrent it may not be 100% reliable)
    func (p *scannerMetrics) activeDrives() int {
    	var i int
    	p.currentPaths.Range(func(k, v interface{}) bool {
    		i++
    		return true
    	})
    	return i
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    			return pi, toObjectErr(err, bucket)
    		}
    		return pi, toObjectErr(err, bucket, object, uploadID)
    	}
    
    	// Write lock for this part ID, only hold it if we are planning to read from the
    	// streamto avoid any concurrent updates.
    	//
    	// Must be held throughout this call.
    	partIDLock := er.NewNSLock(bucket, pathJoin(object, uploadID, strconv.Itoa(partID)))
    	plkctx, err := partIDLock.GetLock(ctx, globalOperationTimeout)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    	if retries == 5 {
    		scannerLogOnceIf(ctx, fmt.Errorf("maximum retry reached to load the data usage cache `%s`", name), "retry-loading-data-usage-cache")
    	}
    
    	return nil
    }
    
    // Maximum running concurrent saves on server.
    var maxConcurrentScannerSaves = make(chan struct{}, 4)
    
    // save the content of the cache to minioMetaBackgroundOpsBucket with the provided name.
    // Note that no locking is done when saving.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  7. go.sum

    github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
    github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
    github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
    github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 84.2K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/lifecycle.go

    		})
    	}
    
    	for _, rule := range lc.FilterRules(obj) {
    		if obj.ExpiredObjectDeleteMarker() {
    			if rule.Expiration.DeleteMarker.val {
    				// Indicates whether MinIO will remove a delete marker with no noncurrent versions.
    				// Only latest marker is removed. If set to true, the delete marker will be expired;
    				// if set to false the policy takes no action. This cannot be specified with Days or
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. cmd/perf-tests.go

    		UserMetadata:         userMetadata,
    		DisableContentSha256: !opts.enableSha256,
    		DisableMultipart:     true,
    	}
    
    	var mu sync.Mutex
    	var uploadTimes madmin.TimeDurations
    	wg.Add(opts.concurrency)
    	for i := 0; i < opts.concurrency; i++ {
    		go func(i int) {
    			defer wg.Done()
    			for {
    				t := time.Now()
    				reader := newRandomReader(opts.objectSize)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. .github/workflows/iam-integrations.yaml

    name: IAM integration
    
    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:
      iam-matrix-test:
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top