bitzeche/zencoder-java — pull request #25 by stormtek (2013-08-21 22:55:52+00:00)
Title: Added handling of request timeouts

We are very close to using this wrapper in our application. However, we noticed that it was hanging sometimes on calls to Zencoder. Because of this we have added timeouts to the httpClient and then handling for when exceptions are thrown. Each call to Zencoder will happen MAX_CONNECTION_ATTEMPTS before failing. Basic real world testing shows that this is helping.