177
// default 1-minute expiration interval and the caller's context. Other errors (and all
178
// errors when the flag is off) follow the standard cap.
179
>
func CreateHistoryClientRetryPolicy(retryUnboundedOnSystemResourceExhausted func() bool) backoff.RetryPolicy {
util.go
180
>
return newClientRetryPolicy(historyClientRetryInitialInterval, historyClientRetryMaxAttempts, retryUnboundedOnSystemResourceExhausted)
181
>
}
182
183
// CreateMatchingClientRetryPolicy creates a retry policy for calls to matching service.