Skip to content

Commit cf31e64

Browse files
ChristophBodensteinChristophBodenstein
authored andcommitted
use DEFAULT_CONNECTION_TIMEOUT in new connections
1 parent 04573df commit cf31e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TimeNETOptimizationEnvironment/src/toe/HttpFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class HttpFactory {
3434
public static DefaultHttpClient getHttpClient() {
3535
if (client == null) {
3636
final HttpParams httpParams = new BasicHttpParams();
37-
HttpConnectionParams.setConnectionTimeout(httpParams, 2000);
37+
HttpConnectionParams.setConnectionTimeout(httpParams, support.DEFAULT_CONNECTION_TIMEOUT);
3838
client = new DefaultHttpClient(httpParams);
3939
}
4040
return client;

0 commit comments

Comments
 (0)