Skip to content

Commit

Permalink
9
Browse files Browse the repository at this point in the history
  • Loading branch information
liutao420 committed Oct 9, 2024
1 parent 019ae36 commit 11723b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/python/vearch/core/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def config(self, config: Config):

def _get_session(self) -> requests.Session:
if not hasattr(self._local, 'session'):
logger.info("---------------创建新的session---------------")
httpAdapter = HTTPAdapter(
pool_maxsize=self.max_connections,
max_retries=self.max_retries,
Expand Down

0 comments on commit 11723b7

Please sign in to comment.