You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chaining to other constructors, the constructors for the `AllForOne`
and `OneForOne` strategies pull timeouts from `TimeSpan`s using the
`Milliseconds` property. This is not the correct behavior for `TimeSpan`
values greater than or equal to 1 second as it provides only the
milliseconds portion of the timespan. Instead, use the `TotalMilliseconds`
property and cast it to an `int`.
@@ -265,7 +265,8 @@ public OneForOneStrategy(int? maxNrOfRetries, TimeSpan? withinTimeRange, IDecide
265
265
/// <param name="withinTimeMilliseconds">duration in milliseconds of the time window for <paramref name="maxNrOfRetries"/>, negative values means no window.</param>
266
266
/// <param name="localOnlyDecider">Mapping from an <see cref="Exception"/> to <see cref="Directive"/></param>
267
267
/// <param name="loggingEnabled">If <c>true</c> failures will be logged</param>
0 commit comments