# Manually do an ILM poll during development and tests

**URL:** <https://discuss.elastic.co/t/manually-do-an-ilm-poll-during-development-and-tests/251421>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [October 8, 2020, 11:00am UTC](https://discuss.elastic.co/t/manually-do-an-ilm-poll-during-development-and-tests/251421 "2020-10-08T11:00:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sravan\_Reddy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sravan_reddy/32/46276_2.png) [@Sravan\_Reddy](https://discuss.elastic.co/u/Sravan_Reddy)\
**Post date:** [October 8, 2020, 11:00am UTC](https://discuss.elastic.co/t/manually-do-an-ilm-poll-during-development-and-tests/251421/1 "2020-10-08T11:00:07Z")

</div>

Hello,

When using ILM, on `indices.lifecycle.poll_interval` there is a lower bound of 1 second.

Our current test setup involves waiting one second after every doc insertion to let ILM do its job. This makes our tests very long for no reason.

Is there a way to reduce this to close to zero during development or is there any other API to manually trigger an ILM poll?

---

<div class="post-metadata">

**Author:** ![dakrone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dakrone/32/23351_2.png) [@dakrone](https://discuss.elastic.co/u/dakrone)\
**Post date:** [October 12, 2020, 8:15pm UTC](https://discuss.elastic.co/t/manually-do-an-ilm-poll-during-development-and-tests/251421/2 "2020-10-12T20:15:49Z")

</div>

There is currently no way to trigger ILM manually. If it's something you think we should add, feel free to open a Github issue.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 9, 2020, 8:16pm UTC](https://discuss.elastic.co/t/manually-do-an-ilm-poll-during-development-and-tests/251421/3 "2020-11-09T20:16:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
