Skip to content

Commit 0a16d38

Browse files
committed
feat(ES5): Increase bulk import queue_size to 1000
The default was increased from 50 to 200 for ES5, but that's not enough to allow all importers to run simultaneously on a planet sized import. 1000 is the same value we've used with ES2 and should continue to work well. We haven't experienced any negative side effects to having this set very high for smaller imports. In theory, running an import on a very CPU constrained server would use more memory storing things in the queue, but that hasn't been observed to be a problem yet. Connects pelias/pelias#461
1 parent 49d79c5 commit 0a16d38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

images/elasticsearch/5.6.12/elasticsearch.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ network.host: 0.0.0.0
44
http.port: 9200
55
node.master: true
66
node.data: true
7+
thread_pool:
8+
bulk:
9+
queue_size: 1000

0 commit comments

Comments
 (0)