Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Pires (0.16 sec)

  1. cmd/admin-heal-ops.go

    		h.mutex.Lock()
    		itemsLen = len(h.currentStatus.Items)
    		if itemsLen == maxUnconsumedHealResultItems {
    			// wait for a second, or quit if an external
    			// stop signal is received or the
    			// unconsumedTimer fires.
    			select {
    			// Check after a second
    			case <-time.After(time.Second):
    				h.mutex.Unlock()
    				continue
    
    			case <-h.ctx.Done():
    				h.mutex.Unlock()
    				// discard result and return.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
Back to top