Skip to content

Commit

Permalink
Merge pull request #234 from wernerhp/patch-1
Browse files Browse the repository at this point in the history
Increase connection pool size
  • Loading branch information
cyberjunky authored Nov 24, 2024
2 parents 0d91b93 + c5b639c commit d11995b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion garminconnect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ def __init__(
self.garmin_graphql_endpoint = "graphql-gateway/graphql"

self.garth = garth.Client(
domain="garmin.cn" if is_cn else "garmin.com"
domain="garmin.cn" if is_cn else "garmin.com",
pool_connections=20,
pool_maxsize=20
)

self.display_name = None
Expand Down

0 comments on commit d11995b

Please sign in to comment.