From 42541f73547f5ecb45a88dc06ad523512c2444dd Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Fri, 16 Mar 2012 17:53:02 +0200 Subject: [PATCH] change the dangling indices deleting timeout default value to 2h --- src/main/java/org/elasticsearch/indices/store/IndicesStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/indices/store/IndicesStore.java b/src/main/java/org/elasticsearch/indices/store/IndicesStore.java index 8c76e0631ca..170d11549b8 100644 --- a/src/main/java/org/elasticsearch/indices/store/IndicesStore.java +++ b/src/main/java/org/elasticsearch/indices/store/IndicesStore.java @@ -77,7 +77,7 @@ public class IndicesStore extends AbstractComponent implements ClusterStateListe this.clusterService = clusterService; this.threadPool = threadPool; - this.danglingTimeout = componentSettings.getAsTime("dangling_timeout", TimeValue.timeValueMinutes(2)); + this.danglingTimeout = componentSettings.getAsTime("dangling_timeout", TimeValue.timeValueHours(2)); clusterService.addLast(this); }