Skip to content
Draft
Changes from 1 commit
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
4 changes: 4 additions & 0 deletions pysqa/utils/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ def _transfer_files(self, file_dict, sftp=None, transfer_back=False):
else:
ssh = self._open_ssh_connection()
sftp_client = ssh.open_sftp()
sftp_client.sock.in_window_size = 8388608
sftp_client.sock.out_window_size = 8388608
sftp_client.sock.in_max_packet_size = 131072
sftp_client.sock.out_max_packet_size = 131072
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not like hard coding these values. Can we add them in the queue.yaml file?

else:
sftp_client = sftp
for file_src, file_dst in tqdm(file_dict.items()):
Expand Down