Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SFTP client for CatalistMatch has 10 minute timeout #1149

Merged
merged 2 commits into from
Oct 16, 2024
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: 1 addition & 1 deletion parsons/catalist/catalist.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(
token_url="https://auth.catalist.us/oauth/token",
auto_refresh_url="https://auth.catalist.us/oauth/token",
)
self.sftp = SFTP("t.catalist.us", sftp_username, sftp_password)
self.sftp = SFTP("t.catalist.us", sftp_username, sftp_password, timeout=7200)

def load_table_to_sftp(self, table: Table, input_subfolder: Optional[str] = None) -> str:
"""Load table to Catalist sftp bucket as gzipped CSV for matching.
Expand Down
Loading