Skip to content

Commit 4e0e887

Browse files
committed
feat: increase script compilation rate limit for testing
1 parent 89db9b5 commit 4e0e887

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

testkit/src/main/scala/app/softnetwork/elastic/scalatest/ElasticDockerTestKit.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ trait ElasticDockerTestKit extends ElasticTestKit { _: Suite =>
121121
|# Set default throttle period to 5s to allow frequent executions during tests
122122
|xpack.watcher.execution.default_throttle_period: 5s
123123
|
124+
|# Script compilation rate limit (default 75/5m can be exhausted during tests)
125+
|script.max_compilations_rate: 10000/5m
126+
|
124127
|# Performance
125128
|bootstrap.memory_lock: false
126129
|""".stripMargin

0 commit comments

Comments
 (0)