diff --git a/pysqa/utils/remote.py b/pysqa/utils/remote.py index 7dd1dad1..5416b876 100644 --- a/pysqa/utils/remote.py +++ b/pysqa/utils/remote.py @@ -163,6 +163,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 else: sftp_client = sftp for file_src, file_dst in tqdm(file_dict.items()):