Experimental drop search after #783
irevoire
started this conversation in
Experimental features
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Meilisearch v1.10.3 (released on October 10, 2024) introduces a new experimental cli flag to control the number of seconds that makes a search request irrelevant.
Since Meilisearch cannot process all search requests at the same time, so, some search requests are waiting in a queue to be processed.
By default, if Meilisearch pick a search requests in this queue older than 60 seconds, it won’t process it and instead return an error.
This experimental parameter lets you configure, after how many seconds, Meilisearch should consider a search irrelevant.
This is particularly useful when Meilisearch is running behind a proxy with a timeout time. This value should always be lower or equal to the timeout specified in your reverse proxy, otherwise Meilisearch will spend time processing search requests of clients that have already been disconnected.
Usage
Stabilization
Right now, the feature is not planned to be stabilized.
Ideally, in the future, Meilisearch should be able to detect itself when a connection has been closed (either by a reverse proxy or a client).
Beta Was this translation helpful? Give feedback.
All reactions