Search requests continue processing after reverse proxy timeout
warningperformanceUpdated Oct 10, 2024(via Exa)
Technologies:
How to detect:
When Meilisearch runs behind a reverse proxy with a timeout (e.g., 10 seconds), it continues processing search requests even after the proxy has timed out and dropped the connection, wasting resources on searches that are no longer relevant to clients.
Recommended action:
Configure the --experimental-drop-search-after CLI flag (available in v1.10.3+) to match or be slightly less than the reverse proxy timeout value. This allows Meilisearch to stop processing searches that exceed the configured duration.