Beispiel #1
0
        Backoff NewBackoff()
        {
            var newBackoff = new Backoff(new ExponentialBackoffStrategy(
                                             randomisationFactor: 0,
                                             initialDelay: InitialDelay,
                                             maxDelay: MaxDelay
                                             ));

            newBackoff.FailAfter(NumRetries);
            return(newBackoff);
        }