Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WithRetries (0.22 sec)

  1. cmd/notification.go

    	if nerrs <= 0 {
    		nerrs = 1
    	}
    	wk, _ := workers.New(wks)
    	return &NotificationGroup{errs: make([]NotificationPeerErr, nerrs), workers: wk, retryCount: 3}
    }
    
    // WithRetries sets the retry count for all function calls from the Go method.
    func (g *NotificationGroup) WithRetries(retryCount int) *NotificationGroup {
    	if g != nil {
    		g.retryCount = retryCount
    	}
    	return g
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
Back to top