OpenSearch/modules/lang-painless
Alexander Reelsen 80d0a32f8e ScriptService: Replace max compilation per minute setting with max compilation rate (#26399)
The current script service has a script compilation limit for a one
minute window. This is set to a small default value of 15. Instead of
increasing that default value, this commit introduces a new setting 
that allows to configure a rate per time unit, so that the script service can deal with bursts better.

The new setting is named `script.max_compilations_rate`,
requires a nonnegative number and a positive time value.

The default is `75/5m`, which is equivalent to the existing 15 per minute.
2017-09-01 10:15:27 +02:00
..
licenses merge master 2016-06-11 13:23:17 -04:00
src Remove Sort enum from Painless Definition (#26179) 2017-08-17 12:02:11 -07:00
build.gradle ScriptService: Replace max compilation per minute setting with max compilation rate (#26399) 2017-09-01 10:15:27 +02:00