Skip to content

Commit 03e4626

Browse files
author
Niklas Leimeroth
committed
set sizes
1 parent dbdc442 commit 03e4626

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pysqa/utils/remote.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ def _transfer_files(self, file_dict, sftp=None, transfer_back=False):
158158
else:
159159
ssh = self._open_ssh_connection()
160160
sftp_client = ssh.open_sftp()
161+
sftp_client.sock.in_window_size = 8388608
162+
sftp_client.sock.out_window_size = 8388608
163+
sftp_client.sock.in_max_packet_size = 131072
164+
sftp_client.sock.out_max_packet_size = 131072
161165
else:
162166
sftp_client = sftp
163167
for file_src, file_dst in tqdm(file_dict.items()):

0 commit comments

Comments
 (0)