mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 13:10:06 +01:00
09ec8e9fca
2471: Remove the connection keep-alive timeout r=MarinPostma a=Thearas # Pull Request ## What does this PR do? Fixes <https://github.com/meilisearch/meilisearch-go/issues/221>. Meilisearch has a default connection keep-alive timeout for 5s, which means it will close the connections with idle time >= 5s. This PR set actix-web keep-alive config to `KeepAlive::Os`, let the client and system to decide when to close the connection. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Co-authored-by: Thearas <thearas850@gmail.com>