Skip to content
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
2 changes: 2 additions & 0 deletions ewah/hooks/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def snow_conn(self):
}

if not hasattr(self, "_snow_conn"):
# Keeps the Snowflake session alive via background heartbeats; prevents mid-task auth failure when key-pair JWT expires after 60 min.
connection_params["client_session_keep_alive"] = True
self._snow_conn = snowflake.connector.connect(**connection_params)

return self._snow_conn
Expand Down
Loading