Skip to content

Commit

Permalink
SFTP client for CatalistMatch has 10 minute timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
austinweisgrau committed Oct 10, 2024
1 parent 111acf9 commit 0ff1afa
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 0ff1afa

Please sign in to comment.