From: Olivier Lamy Date: Mon, 26 Sep 2011 20:35:35 +0000 (+0000) Subject: in s so *1000 :-) X-Git-Tag: archiva-1.4-M1~195 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d9c293217ca6b53bf57e1a1c0e66d51d8ad89268;p=archiva.git in s so *1000 :-) git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176040 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java index 7aeb6fe56..c4b3e3511 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java @@ -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 );