You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/09/05 16:59:27 UTC
[lucene-solr] branch reference_impl updated: @746 bring up the
timeout.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl by this push:
new 6fb9d96 @746 bring up the timeout.
6fb9d96 is described below
commit 6fb9d968a00aa8d8e3f3a6c06712efb6fc8178c5
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sat Sep 5 11:58:51 2020 -0500
@746 bring up the timeout.
---
solr/core/src/java/org/apache/solr/core/CachingDirectoryFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/core/src/java/org/apache/solr/core/CachingDirectoryFactory.java b/solr/core/src/java/org/apache/solr/core/CachingDirectoryFactory.java
index 7cb206b..0cc50e5 100644
--- a/solr/core/src/java/org/apache/solr/core/CachingDirectoryFactory.java
+++ b/solr/core/src/java/org/apache/solr/core/CachingDirectoryFactory.java
@@ -195,7 +195,7 @@ public abstract class CachingDirectoryFactory extends DirectoryFactory {
synchronized (this) {
closed = true;
if (log.isDebugEnabled()) log.debug("Closing {} - {} directories currently being tracked", this.getClass().getSimpleName(), byDirectoryCache.size());
- TimeOut timeout = new TimeOut(5, TimeUnit.SECONDS, TimeSource.NANO_TIME); // nocommit sensible timeout control
+ TimeOut timeout = new TimeOut(15, TimeUnit.SECONDS, TimeSource.NANO_TIME); // nocommit sensible timeout control
Collection<CacheValue> values = new HashSet<>(byDirectoryCache.values());
for (CacheValue val : values) {
if (log.isDebugEnabled()) log.debug("Closing {} - currently tracking: {}",