-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
BitstampPollingMarketDataService.getFullOrderBook hang #66
Comments
That's a good question. I'll look into it... |
@mmazi will ResCU include a feature for setting a timeout and returning some kind of error code to indicate this? I though they XChange needs this feature a while ago, but I put it off... |
Yes, I noticed this need when using XChange in a project of mine recently |
See mmazi/rescu#1 |
Lovely because since so badly DDOS every where and so poorly Bandwidth Bitcoin exchange get flooded easily. And peoples sell OFF at least that what the MTGOX says. but men i cant believe what i have saw it the order book. over 2000k Volume ask all at the same 225$ and same volume all at the same 100.000$ and slowly getting the whole market down on the order book of clack moody |
Rescu (develop branch) now supports seting HTTP request timeout. Put this into a
|
A |
Should we wrap this into an IOException as well, and add a nice little message to it to say how to increase the timeout?? |
SocketTimeoutException is an IOException, so this is already taken care of :) |
That's strange then because I'm catching IOException, but a Here's the stacktrace:
|
Perhaps the |
Oh wait, that was the wrong one. Here's the one I saw at first...
|
You're getting a SocketTimeoutException that's wrapped in UndeclaredThrowableException. That happens because the JAX-RS-annotated interface method (in this case
|
i have noticed that getFullOrderBook () at least for BitstampPollingMarketDataService implementation can hangs forever.
Any idea to introduce a timeout ? and make it return or retry ?
The text was updated successfully, but these errors were encountered: