Merge pull request #3156 from OpenRefine/3132-recon-read-timeout

Set read timeout to 60 sec for reconciliation.
This commit is contained in:
Tom Morris 2020-09-02 13:16:17 -04:00 committed by GitHub
commit 37ae9a3d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,6 +446,7 @@ public class StandardReconConfig extends ReconConfig {
} }
RequestConfig defaultRequestConfig = RequestConfig.custom() RequestConfig defaultRequestConfig = RequestConfig.custom()
.setConnectTimeout(30 * 1000) .setConnectTimeout(30 * 1000)
.setSocketTimeout(60 * 1000)
.build(); .build();
HttpClientBuilder httpClientBuilder = HttpClients.custom() HttpClientBuilder httpClientBuilder = HttpClients.custom()