kibana/x-pack/plugins/task_manager/server
Patrick Mueller 1f774bb2e6
[task manager] provide warning when setting max_workers greater than limit (#85574)
resolves https://github.com/elastic/kibana/issues/56573

In this PR we create a new task manager limit on the config property
`xpack.task_manager.max_workers` of 100, but only log a deprecation
warning if that property exceeds the limit.  We'll enforce the limit
in 8.0.

The rationale is that it's unlikely going to be useful to run with
more than some number of workers, due to the amount of simultaneous
work that would end up happening.  In practice, too many workers can
slow things down more than speed them up.

We're setting the limit to 100 for now, but may increase / decrease it
based on further research.
2020-12-14 16:38:05 -05:00
..
integration_tests
lib
monitoring
polling
queries
routes
saved_objects
task_running
test_utils
buffered_task_store.test.ts
buffered_task_store.ts
config.test.ts
config.ts [task manager] provide warning when setting max_workers greater than limit (#85574) 2020-12-14 16:38:05 -05:00
index.test.ts [task manager] provide warning when setting max_workers greater than limit (#85574) 2020-12-14 16:38:05 -05:00
index.ts [task manager] provide warning when setting max_workers greater than limit (#85574) 2020-12-14 16:38:05 -05:00
mocks.ts
MONITORING.md
plugin.test.ts
plugin.ts
polling_lifecycle.mock.ts
polling_lifecycle.test.ts
polling_lifecycle.ts
task.ts
task_events.ts
task_pool.test.ts
task_pool.ts
task_scheduling.mock.ts
task_scheduling.test.ts
task_scheduling.ts
task_store.mock.ts
task_store.test.ts
task_store.ts
task_type_dictionary.test.ts
task_type_dictionary.ts