Skip to content

Commit

Permalink
Merge pull request pelias#97 from pelias/es-2.4-bulk-threadpool
Browse files Browse the repository at this point in the history
Set default bulk queue size for ES 2.4 image
  • Loading branch information
orangejulius authored Apr 26, 2019
2 parents 140652e + a4ced92 commit fe61159
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions images/elasticsearch/2.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ FROM elasticsearch:2.4
# configure plugins
RUN /usr/share/elasticsearch/bin/plugin install analysis-icu
RUN /usr/share/elasticsearch/bin/plugin install cloud-aws

# elasticsearch config
ADD elasticsearch.yml /usr/share/elasticsearch/config/
RUN chown elasticsearch:elasticsearch config/elasticsearch.yml
8 changes: 8 additions & 0 deletions images/elasticsearch/2.4/elasticsearch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
bootstrap.memory_lock: true
network.host: 0.0.0.0
http.port: 9200
node.master: true
node.data: true
threadpool:
bulk:
queue_size: 1000

0 comments on commit fe61159

Please sign in to comment.