Skip to content

Commit 95a1706

Browse files
committed
fix(splat): update read timeout to 15 minutes
1 parent b203ca2 commit 95a1706

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "uptick-splat"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "Django library for invoking splat"
55
authors = ["william chu <[email protected]>"]
66
readme = "README.md"

uptick_splat/utils.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ def pdf_with_splat(
3636

3737
session = config.get_session_fn()
3838
lambda_client = session.client(
39-
"lambda", region_name=config.function_region, config=Config(read_timeout=120)
39+
"lambda",
40+
region_name=config.function_region,
41+
config=Config(read_timeout=60 * 15, retries={"max_attempts": 0}),
4042
)
4143
s3_client = session.client("s3")
4244

0 commit comments

Comments
 (0)