increase timeout
authorEugene Petrenko <eugene.petrenko@gmail.com>
Mon, 15 Aug 2011 15:56:47 +0000 (19:56 +0400)
committerEugene Petrenko <eugene.petrenko@gmail.com>
Mon, 15 Aug 2011 15:56:47 +0000 (19:56 +0400)
nuget-server/src/jetbrains/buildServer/nuget/server/feed/reader/impl/FeedHttpClientHolder.java

index 9fabd558b6dfc48bd13370a6f2f0cd9d41c7fa25..200adc0b0d51047110b2a4e79a11c54bdc6f182d 100644 (file)
@@ -45,8 +45,8 @@ public class FeedHttpClientHolder implements FeedClient {
     HttpParams ps = new BasicHttpParams();\r
     DefaultHttpClient.setDefaultHttpParams(ps);\r
 \r
-    HttpConnectionParams.setConnectionTimeout(ps, 10000);\r
-    HttpConnectionParams.setSoTimeout(ps, 10000);\r
+    HttpConnectionParams.setConnectionTimeout(ps, 300 * 1000);\r
+    HttpConnectionParams.setSoTimeout(ps, 300 * 1000);\r
     HttpProtocolParams.setUserAgent(ps, "JetBrains TeamCity " + serverVersion);\r
 \r
     final DefaultHttpClient client = new ContentEncodingHttpClient(new ThreadSafeClientConnManager(), ps);\r