- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for maxWorkers (0.15 sec)
-
internal/logger/target/http/http.go
func New(config Config) (*Target, error) { maxWorkers := maxWorkers if config.BatchSize > 100 { maxWorkers = maxWorkersWithBatchEvents } else if config.BatchSize <= 0 { config.BatchSize = 1 } h := &Target{ logCh: make(chan interface{}, config.QueueSize), config: config, batchSize: config.BatchSize, maxWorkers: int64(maxWorkers), httpTimeout: config.HTTPTimeout, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 15.6K bytes - Viewed (0) -
cmd/bucket-replication.go
mrfWorkers = min(p.mrfWorkerSize+1, MRFWorkerAutoDefault) } } if maxWorkers > 0 && workers > maxWorkers { workers = maxWorkers } if maxWorkers > 0 && mrfWorkers > maxWorkers { mrfWorkers = maxWorkers } if maxLWorkers <= 0 { maxLWorkers = LargeWorkerCount } p.priority = pri p.maxWorkers = maxWorkers p.mu.Unlock() p.ResizeWorkers(workers, 0)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 06:49:55 UTC 2024 - 116.1K bytes - Viewed (0) -
cmd/handler-api.go
if t.replicationPriority == "" { return replicationPoolOpts{ Priority: "auto", MaxWorkers: WorkerMaxLimit, MaxLWorkers: LargeWorkerCount, } } return replicationPoolOpts{ Priority: t.replicationPriority, MaxWorkers: t.replicationMaxWorkers, MaxLWorkers: t.replicationMaxLWorkers, } } func (t *apiConfig) getTransitionWorkers() int { t.mu.RLock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 17:07:10 UTC 2024 - 10.4K bytes - Viewed (0) -
cmd/notification.go
// further discussion advised. Remove this comment and remove the worker model // for this function in future. maxWorkers := runtime.GOMAXPROCS(0) / 2 ng := WithNPeersThrottled(len(sys.peerClients), maxWorkers) for idx, client := range sys.peerClients { if client == nil { continue } client := client ng.Go(ctx, func() error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 46.2K bytes - Viewed (0)