OpenSearch/x-pack/plugin/core
Benjamin Trent 297f864884
[ML] relax throttling on expired data cleanup (#56711) (#56895)
Throttling nightly cleanup as much as we do has been over cautious.

Night cleanup should be more lenient in its throttling. We still
keep the same batch size, but now the requests per second scale
with the number of data nodes. If we have more than 5 data nodes,
we don't throttle at all.

Additionally, the API now has `requests_per_second` and `timeout` set.
So users calling the API directly can set the throttling.

This commit also adds a new setting `xpack.ml.nightly_maintenance_requests_per_second`.
This will allow users to adjust throttling of the nightly maintenance.
2020-05-18 08:46:42 -04:00
..
forbidden Ensure SHA256 is not used in tests (#42289) 2019-05-22 09:54:24 +03:00
licenses Enforce strict license distribution requirements (#56642) 2020-05-14 13:57:56 -07:00
src [ML] relax throttling on expired data cleanup (#56711) (#56895) 2020-05-18 08:46:42 -04:00
build.gradle Move publishing configuration to a separate plugin (#56727) 2020-05-14 20:23:07 -07:00
snapshot.key