Skip to content

Commit

Permalink
Increase max cache size for scripts to try to stabilize Zeek tests (e…
Browse files Browse the repository at this point in the history
…lastic#16390) (elastic#16429)

Some filebeat tests were frequently failing due to "Too many
dynamic script compilations". Try to reduce number of
compilations by increasing the max size of scripts cache.

(cherry picked from commit 742e9e6)
  • Loading branch information
jsoriano authored Feb 20, 2020
1 parent 8f88b43 commit 4a7af20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions filebeat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ services:
extends:
file: ${ES_BEATS}/testing/environments/${TESTING_ENVIRONMENT}.yml
service: elasticsearch
environment:
script.cache.max_size: "500"

kafka:
build: ${ES_BEATS}/testing/environments/docker/kafka
Expand Down
2 changes: 2 additions & 0 deletions x-pack/filebeat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ services:
extends:
file: ${ES_BEATS}/testing/environments/${STACK_ENVIRONMENT}.yml
service: elasticsearch
environment:
script.cache.max_size: "500"

0 comments on commit 4a7af20

Please sign in to comment.