]> source.dussan.org Git - archiva.git/commitdiff
- MultiSearcher for index is not being closed causing too many files open error,...
authorMaria Odea B. Ching <oching@apache.org>
Tue, 14 Aug 2007 11:34:04 +0000 (11:34 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Tue, 14 Aug 2007 11:34:04 +0000 (11:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@565709 13f79535-47bb-0310-9956-ffa450edef68

archiva-base/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/search/DefaultCrossRepositorySearch.java

index 88ceaccc9da1c53da73a47fef99eb2cd64d9d758..cb66377f6dfaecfbbe8c1c3e594fe11199476177 100644 (file)
@@ -237,6 +237,8 @@ public class DefaultCrossRepositorySearch
                     }
                 }
             }
+
+            searcher.close();
         }
         catch ( IOException e )
         {