Skip to content

Commit

Permalink
chore(internal): change default timeout to an int (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Feb 4, 2025
1 parent 6f4fc83 commit 68f2e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bespokelabs/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to"

# default timeout is 1 minute
DEFAULT_TIMEOUT = httpx.Timeout(timeout=60.0, connect=5.0)
DEFAULT_TIMEOUT = httpx.Timeout(timeout=60, connect=5.0)
DEFAULT_MAX_RETRIES = 2
DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=100, max_keepalive_connections=20)

Expand Down

0 comments on commit 68f2e60

Please sign in to comment.