Skip to content

Commit

Permalink
increase boto timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbalcaen committed May 1, 2024
1 parent b0a5243 commit 763840f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lambdas/bedrock_invoker/src/index.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import boto3
import json
from botocore.exceptions import BotoCoreError, ClientError
from botocore.config import Config

s3 = boto3.client('s3')
bedrock = boto3.client('bedrock-runtime')

config = Config(read_timeout=1000)

def lambda_handler(event, context):
"""
Expand Down

0 comments on commit 763840f

Please sign in to comment.