Skip to content

Commit b2c187c

Browse files
committed
Increase connect timeout
1 parent 581638b commit b2c187c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/models/bedrock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
logger = logging.getLogger(__name__)
4444

45-
config = Config(connect_timeout=1, read_timeout=120, retries={"max_attempts": 1})
45+
config = Config(connect_timeout=60, read_timeout=120, retries={"max_attempts": 1})
4646

4747
bedrock_runtime = boto3.client(
4848
service_name="bedrock-runtime",

0 commit comments

Comments
 (0)