mirror of https://github.com/apache/lucene.git
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:
parent
770b1e3dd2
commit
72f44f7b16
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue