Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supervisor strategy bad timeouts #986

Merged

Conversation

neoeinstein
Copy link
Contributor

In chaining to other constructors, the constructors for the AllForOne and OneForOne strategies pull timeouts from TimeSpans 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.

Marcus Griep added 2 commits May 17, 2015 16:12
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`.
@neoeinstein neoeinstein force-pushed the supervisor-strategy-bad-timeouts branch from 5e4288a to 0931aec Compare May 17, 2015 20:15
Aaronontheweb added a commit that referenced this pull request May 18, 2015
@Aaronontheweb Aaronontheweb merged commit 71ed30a into akkadotnet:dev May 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants