Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cleanupReports (0.06 sec)

  1. cmd/batch-handlers.go

    		return time.Duration(rand.Float64() * float64(time.Duration(globalEndpoints.NEndpoints())*time.Hour))
    	}
    
    	go func() {
    		jpool.resume(randomWait)
    		jpool.cleanupReports(randomWait)
    	}()
    
    	return jpool
    }
    
    func (j *BatchJobPool) cleanupReports(randomWait func() time.Duration) {
    	t := time.NewTimer(randomWait())
    	defer t.Stop()
    
    	for {
    		select {
    		case <-GlobalContext.Done():
    			return
    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