meilisearch-python icon indicating copy to clipboard operation
meilisearch-python copied to clipboard

Using Request.Sessions for faster and less open connections

Open structwafel opened this issue 1 year ago • 7 comments

Pull Request

Related issue

Fixes #<issue_number>

What does this PR do?

  • Changes all requests.get/etc methods to session.get/etc, in order to not create new connections for each request

PR checklist

Please check if your PR fulfills the following requirements:

  • [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • [x] Have you read the contributing guidelines?
  • [x] Have you made sure that the title is accurate and descriptive of the changes?

structwafel avatar Feb 02 '24 14:02 structwafel