Skip to content

Commit 9b7fe85

Browse files
author
wenfeng.wf
committed
BUGFIX timeout setting
1 parent 1dc69d7 commit 9b7fe85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rds_openapi_mcp_server/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def get_vpc_client(region_id: str) -> VpcClient:
4747
access_key_secret=os.getenv('ALIBABA_CLOUD_ACCESS_KEY_SECRET'),
4848
region_id=region_id,
4949
protocol="https",
50-
connect_timeout=10,
51-
read_timeout=300
50+
connect_timeout=10 * 1000,
51+
read_timeout=300 * 1000
5252
)
5353
return VpcClient(config)
5454

0 commit comments

Comments
 (0)