Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for runHealthCheck (0.06 seconds)

  1. internal/rest/client.go

    		sleep := min(unit*time.Duration(1<<attempt), maxSleep)
    		sleep -= time.Duration(r.Float64() * float64(sleep-unit))
    		return sleep
    	}
    }
    
    func (c *Client) runHealthCheck() bool {
    	// Start goroutine that will attempt to reconnect.
    	// If server is already trying to reconnect this will have no effect.
    	if c.HealthCheckFn != nil && atomic.CompareAndSwapInt32(&c.connected, online, offline) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
Back to Top