mirror of
https://github.com/apache/lucene.git
synced 2025-03-01 05:49:33 +00:00
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) {
|
while(val.refCnt != 0) {
|
||||||
wait(100);
|
wait(100);
|
||||||
|
|
||||||
if (cnt++ >= 100*10*30) {
|
if (cnt++ >= 300) {
|
||||||
log.error("Timeout waiting for all directory ref counts to be released");
|
log.error("Timeout waiting for all directory ref counts to be released");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user