Skip to content

Commit 1c89174

Browse files
Timeout change set to 10 minutes by updating _constants.py (#58)
* updated _constants.py * updated version to 0.9.2
1 parent 8327e60 commit 1c89174

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

aimon/_constants.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
RAW_RESPONSE_HEADER = "X-Stainless-Raw-Response"
66
OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to"
77

8-
# default timeout is 1 minute
9-
DEFAULT_TIMEOUT = httpx.Timeout(timeout=60, connect=5.0)
8+
# default timeout is 10 minutes
9+
DEFAULT_TIMEOUT = httpx.Timeout(timeout=600, connect=5.0)
1010
DEFAULT_MAX_RETRIES = 2
1111
DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=100, max_keepalive_connections=20)
1212

aimon/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "aimon"
4-
__version__ = "0.9.1"
4+
__version__ = "0.9.2"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
name='aimon',
99
python_requires='>3.8.0',
1010
packages=find_packages(),
11-
version="0.9.1",
11+
version="0.9.2",
1212
install_requires=[
1313
"annotated-types==0.6.0",
1414
"anyio==4.4.0",

0 commit comments

Comments
 (0)