Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewSource (0.17 sec)

  1. internal/rest/client.go

    	if c.HealthCheckFn != nil && atomic.CompareAndSwapInt32(&c.connected, online, offline) {
    		go func() {
    			backOff := exponentialBackoffWait(
    				rand.New(rand.NewSource(time.Now().UnixNano())),
    				200*time.Millisecond,
    				30*time.Second,
    			)
    
    			attempt := uint(0)
    			for {
    				if atomic.LoadInt32(&c.connected) == closed {
    					return
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
Back to top