Issue 14456

Make timeouts configurable in GbifWsClientModule

14456
Reporter: fmendez
Type: Bug
Summary: Make timeouts configurable in GbifWsClientModule
Priority: Major
Resolution: Fixed
Status: Resolved
Created: 2013-12-09 15:54:52.742
Updated: 2014-04-23 16:00:58.861
Resolved: 2014-04-23 16:00:58.828
        
Description: 
GbifWsClientModule creates client connections with default timeouts that are not suitable for all the cases, specially for occurrence searches that take more than 10 seconds.

@Provides
  @Singleton
  public HttpClient provideHttpClient() {
    return HttpUtil.newMultithreadedClient(DEFAULT_HTTP_TIMEOUT_MSECS, DEFAULT_MAX_HTTP_CONNECTIONS,
      DEFAULT_MAX_HTTP_CONNECTIONS_PER_ROUTE);
  }]]>
    


Author: fmendez@gbif.org
Comment: this was fixed some time ago
Created: 2014-04-23 16:00:58.858
Updated: 2014-04-23 16:00:58.858