From 58fe8440e4f038cf0ca790a3175b248975a2c856 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Fri, 6 May 2011 07:28:34 +0000 Subject: [PATCH] [MRM-1457] disable dependency tree by default in 1.3.x to prevent cpu usage problems git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.3.x@1100112 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-web/archiva-webapp/src/main/resources/struts.xml | 2 ++ .../main/webapp/WEB-INF/jsp/decorators/artifactDecorator.jsp | 4 ++++ .../src/main/webapp/WEB-INF/jsp/showArtifact.jsp | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.xml index 301d2c555..88dc1f312 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.xml @@ -228,9 +228,11 @@ /WEB-INF/jsp/showArtifact.jsp + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/artifactDecorator.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/artifactDecorator.jsp index 218c5ab53..bd737cd41 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/artifactDecorator.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/decorators/artifactDecorator.jsp @@ -97,6 +97,8 @@ Dependencies + + <%-- disabled for now to avoid too much cpu usage (see MRM-1457) @@ -105,6 +107,8 @@ Dependency Tree + --%> + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp index cce8069f4..b912092bf 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp @@ -93,6 +93,8 @@ Dependencies + + <%-- disabled for now to avoid too much cpu usage (see MRM-1457) @@ -101,6 +103,8 @@ Dependency Tree + --%> + -- 2.39.5