]> source.dussan.org Git - archiva.git/commitdiff
in s so *1000 :-)
authorOlivier Lamy <olamy@apache.org>
Mon, 26 Sep 2011 20:35:35 +0000 (20:35 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 26 Sep 2011 20:35:35 +0000 (20:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176040 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java

index 7aeb6fe569acc6fc9ef4b8369bfa210742c377a3..c4b3e3511d3621d9391ba26acce27239b3b2bb52 100644 (file)
@@ -254,7 +254,7 @@ public class DownloadRemoteIndexTask
         try
         {
             HttpConfiguration httpConfiguration = new HttpConfiguration().setAll(
-                new HttpMethodConfiguration().setReadTimeout( remoteRepository.getRemoteDownloadTimeout() ) );
+                new HttpMethodConfiguration().setReadTimeout( remoteRepository.getRemoteDownloadTimeout() * 1000 ) );
             Method setHttpConfigurationMethod =
                 wagon.getClass().getMethod( "setHttpConfiguration", HttpConfiguration.class );
             setHttpConfigurationMethod.invoke( wagon, httpConfiguration );