// MaxRedirects is a functional option that sets the maximum number of per-call HTTP redirects for a scheduler client
MaxRedirects is a functional option that sets the maximum number of per-call HTTP redirects for a scheduler client
// MaxRedirects is a functional option that sets the maximum number of per - call HTTP redirects for a scheduler client
func MaxRedirects(mr int) Option {
	return func(c *client) Option {
		old := c.redirect.MaxAttempts
		c.redirect.MaxAttempts = mr
		return MaxRedirects(old)
	}
}
func MaxRedirects ( mr int ) Option { return func ( c * client ) Option { old := c . redirect . MaxAttempts c . redirect . MaxAttempts = mr return MaxRedirects ( old ) } }
MaxRedirects is a functional option that sets the maximum number of per-call HTTP redirects for a scheduler client
MaxRedirects is a functional option that sets the maximum number of per - call HTTP redirects for a scheduler client