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

Add default Ask timeout to HOCON configuration #1163

Closed
Horusiath opened this issue Jul 17, 2015 · 1 comment · Fixed by #1166
Closed

Add default Ask timeout to HOCON configuration #1163

Horusiath opened this issue Jul 17, 2015 · 1 comment · Fixed by #1166

Comments

@Horusiath
Copy link
Contributor

In Scala, ask timeout can be set implicitly, while in C#/F# this is not possible, and therefore it may feel repetitive and not safe (when user decided not to set it at all, there is possibility to hang forever). The idea is to add HOCON config key for setting the default timeout on IActorRef.Ask method in case, when user didn't specified it explicitly.

Proposal is to create akka.actor.ask-timeout key with TimeSpan value (set to null by default to stay backward compatible). This setting should be applied to all IActorRef.Ask invocations without explicit timeouts. This should also be reflected in updated documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants