Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Unlock (0.18 sec)

  1. internal/rest/client.go

    // returns true if the node changed state from online to offline
    func (c *Client) MarkOffline(err error) bool {
    	c.Lock()
    	c.lastErr = err
    	c.lastErrTime = time.Now()
    	atomic.StoreInt64(&c.lastConn, time.Now().UnixNano())
    	c.Unlock()
    
    	return c.runHealthCheck()
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
Back to top