# Reject queries if it's sitting in the queue beyond a request\_timeout

**URL:** <https://discuss.elastic.co/t/reject-queries-if-its-sitting-in-the-queue-beyond-a-request-timeout/183485>\
**Category:** Elasticsearch\
**Created:** [May 30, 2019, 8:08am UTC](https://discuss.elastic.co/t/reject-queries-if-its-sitting-in-the-queue-beyond-a-request-timeout/183485 "2019-05-30T08:08:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bukhtawar\_Khan](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@Bukhtawar\_Khan](https://discuss.elastic.co/u/Bukhtawar_Khan)\
**Post date:** [May 30, 2019, 8:08am UTC](https://discuss.elastic.co/t/reject-queries-if-its-sitting-in-the-queue-beyond-a-request-timeout/183485/1 "2019-05-30T08:08:22Z")

</div>

To prevent the backlog to build up espl when the cluster is slow it makes sense to reject queries waiting in the queue beyond a timeout as most of the times the client timeout might have occurred and a retry might already have been issued for the same. Please let me know if this rejection is already supported

---

<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:** [June 27, 2019, 8:08am UTC](https://discuss.elastic.co/t/reject-queries-if-its-sitting-in-the-queue-beyond-a-request-timeout/183485/2 "2019-06-27T08:08:23Z")

</div>

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