lower this timeout to something more reasonable

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402831 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-10-27 18:13:30 +00:00
parent 770b1e3dd2
commit 72f44f7b16
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public abstract class CachingDirectoryFactory extends DirectoryFactory {
while(val.refCnt != 0) {
wait(100);
if (cnt++ >= 100*10*30) {
if (cnt++ >= 300) {
log.error("Timeout waiting for all directory ref counts to be released");
break;
}