# Hi i have question about cancel\_after\_time\_interval option

**URL:** <https://discuss.elastic.co/t/hi-i-have-question-about-cancel-after-time-interval-option/364877>\
**Category:** Elasticsearch\
**Created:** [August 14, 2024, 2:48am UTC](https://discuss.elastic.co/t/hi-i-have-question-about-cancel-after-time-interval-option/364877 "2024-08-14T02:48:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slowup](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/slowup/32/99097_2.png) [@slowup](https://discuss.elastic.co/u/slowup)\
**Post date:** [August 14, 2024, 2:48am UTC](https://discuss.elastic.co/t/hi-i-have-question-about-cancel-after-time-interval-option/364877/1 "2024-08-14T02:48:27Z")

</div>

i have any question  
The timeout option removes the output of a specific shard and responds within the exception time if a specific shard does not respond for more than that number of seconds.

What is the cancel\_after\_time\_interval option? When tested, when a specific shard fails, a response is provided for both the successful data and the failed shard.

Does the difference with timeout include whether or not an error is included for a specific shard when responding?

Anyway, what I'm really curious about is the difference between cancel\_after\_time\_interval and timeout options and  
I'm curious in detail about what cancel\_after\_time\_interval is!
