Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/db_extractor_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ def db_extractor():
# By default we will want to write our data to S3, on error we will skip this
write_to_s3 = True

# Set the statement timeout to 600 seconds for this session
cursor.execute("SET statement_timeout = '600s'")

# If we ignore the table, we do nothing
if str(table_name) in table_dump_ignore:
print("Data Warehouse Lambda - INFO - DB Extract - Didn't extract data for table(ignore list): " + str(table_name))
Expand Down