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

GraphQL client should use persistent session and connection pool

Open shiftinv opened this issue 1 year ago • 0 comments

Currently, every GraphQL request in github_info.py uses gql.execute_async, which creates a new aiohttp session (and connector) every time. To avoid this and to support sharing the same TCPConnector as bot.http_session for connection pooling, the gql client should use a persistent session.

shiftinv avatar Sep 25 '24 12:09 shiftinv