Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for itemsLen (0.1 sec)

  1. cmd/admin-heal-ops.go

    	// for too long.
    	unconsumedTimer := time.NewTimer(healUnconsumedTimeout)
    	defer unconsumedTimer.Stop()
    
    	var itemsLen int
    	for {
    		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 {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top