From 500b86577ea65f7daba95e0192a603c077248a17 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Thu, 2 Apr 2015 17:22:49 +0200 Subject: [PATCH] Changed refresh interval for .watch .watch_history* indices from 1 second to 5 minutes. Closes elastic/elasticsearch#151 Original commit: elastic/x-pack-elasticsearch@5147d635c20e9f2443ce6d0fbbcb848e0650eb11 --- src/main/resources/watch_history.json | 3 ++- src/main/resources/watches.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/watch_history.json b/src/main/resources/watch_history.json index 1205a2ee71e..2efd0a165b5 100644 --- a/src/main/resources/watch_history.json +++ b/src/main/resources/watch_history.json @@ -5,7 +5,8 @@ "index.number_of_shards": 1, "index.number_of_replicas": 1, "index.watcher.template_version": 1, - "index.mapper.dynamic" : false + "index.mapper.dynamic" : false, + "index.refresh_interval" : "5m" }, "mappings": { "watch_record": { diff --git a/src/main/resources/watches.json b/src/main/resources/watches.json index 86e3ba82841..a3e8c174a5a 100644 --- a/src/main/resources/watches.json +++ b/src/main/resources/watches.json @@ -5,7 +5,8 @@ "index.number_of_shards": 1, "index.number_of_replicas": 1, "index.watcher.template_version": 1, - "index.mapper.dynamic" : false + "index.mapper.dynamic" : false, + "index.refresh_interval" : "5m" }, "mappings": { "watch": {