Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for queueJob (0.07 sec)

  1. cmd/batch-handlers.go

    	job.User = user
    	job.Started = time.Now()
    
    	if err := job.save(ctx, objectAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	if err = globalBatchJobPool.queueJob(job); err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	buf, err = json.Marshal(&madmin.BatchJobResult{
    		ID:      job.ID,
    		Type:    job.Type(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top