Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for skipIfSuccessBefore (0.21 sec)

  1. cmd/xl-storage-disk-id-check.go

    		}
    	}
    
    	// if disk max timeout is smaller than skipIfSuccessBefore window
    	// reduce the skipIfSuccessBefore by a second.
    	if globalDriveConfig.GetMaxTimeout() <= skipIfSuccessBefore {
    		skipIfSuccessBefore = globalDriveConfig.GetMaxTimeout() - time.Second
    		if skipIfSuccessBefore <= 0 {
    			skipIfSuccessBefore = globalDriveConfig.GetMaxTimeout()
    		}
    	}
    
    	t := time.NewTicker(checkEvery)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top