Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addWorker (0.09 sec)

  1. cmd/batch-handlers.go

    			continue
    		}
    		if err := j.queueJob(req); err != nil {
    			batchLogIf(ctx, err)
    			continue
    		}
    	}
    }
    
    // AddWorker adds a replication worker to the pool
    func (j *BatchJobPool) AddWorker() {
    	if j == nil {
    		return
    	}
    	for {
    		select {
    		case <-j.ctx.Done():
    			return
    		case job, ok := <-j.jobCh:
    			if !ok {
    				return
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top