-
Notifications
You must be signed in to change notification settings - Fork 583
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
Rescue from TimeoutException #42
Comments
I just tried running this, and it works just fine.
Also, the canonical way to create durations without the use of implicates is: val timeout = Duration(100, TimeUnit.MILLISECONDS) |
(Can you paste the actual error you get?) |
I get a TimeoutException; I use 5.3.13, BTW
|
Any clue? |
@electricmonk can you reproduce this with the latest release? |
Just double-checked it: not reproducible on 6.26.0. We can close it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to write a method to execute a blocking method (legacy HTTP GET, for that matter) asynchronously, with retries on timeout. I'd like to avoid catching the TimeoutException, so I'm trying to use Future.rescue instead.
Follows is a specs2 test attempting to do just that; for some reason which I can't really understand, the test fails. Am I missing something, or is there a bug somewhere?
The text was updated successfully, but these errors were encountered: