From: Maria Odea B. Ching Date: Tue, 14 Aug 2007 11:34:04 +0000 (+0000) Subject: - MultiSearcher for index is not being closed causing too many files open error,... X-Git-Tag: archiva-1.0-beta-2~66 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a3305c920a9227b5c6dc855d2e0fb8fff258b4ea;p=archiva.git - 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 --- 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 ) {