From a3305c920a9227b5c6dc855d2e0fb8fff258b4ea Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Tue, 14 Aug 2007 11:34:04 +0000 Subject: [PATCH] - MultiSearcher for index is not being closed causing too many files open error, added line for close searcher git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@565709 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/indexer/search/DefaultCrossRepositorySearch.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/search/DefaultCrossRepositorySearch.java b/archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/search/DefaultCrossRepositorySearch.java index 88ceaccc9..cb66377f6 100644 --- a/archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/search/DefaultCrossRepositorySearch.java +++ b/archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/search/DefaultCrossRepositorySearch.java @@ -237,6 +237,8 @@ public class DefaultCrossRepositorySearch } } } + + searcher.close(); } catch ( IOException e ) { -- 2.39.5