Skip to content

Commit

Permalink
Merge pull request #11 from styleseat/try-catch-timeout
Browse files Browse the repository at this point in the history
Config had to be a kwarg, oops.
  • Loading branch information
Lanny authored Nov 9, 2020
2 parents 4b79323 + b67dafe commit 889f2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ss_instrumentation/SSInstrumentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class SSInstrumentation(object):

def __init__(self, config, storage=None):
self.namespace = config['AWS_METRIC_NAMESPACE']
self.client = boto3.client('cloudwatch', Config(
self.client = boto3.client('cloudwatch', config=Config(
connect_timeout=3,
read_timeout=3,
retries={'max_attempts': 0},
Expand Down

0 comments on commit 889f2d2

Please sign in to comment.