From 03e4626f6d35bc5321434cffbb19a7926aedc01f Mon Sep 17 00:00:00 2001 From: Niklas Leimeroth Date: Wed, 13 Jul 2022 15:30:21 +0200 Subject: [PATCH 1/3] set sizes --- pysqa/utils/remote.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pysqa/utils/remote.py b/pysqa/utils/remote.py index 1b3066cc..f3731b55 100644 --- a/pysqa/utils/remote.py +++ b/pysqa/utils/remote.py @@ -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 else: sftp_client = sftp for file_src, file_dst in tqdm(file_dict.items()): From 281bf5d0b79a71e8a227790bdade134d08721847 Mon Sep 17 00:00:00 2001 From: Leimeroth Date: Sun, 31 Jul 2022 18:02:13 +0200 Subject: [PATCH 2/3] try fix problems with upload --- pysqa/utils/remote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pysqa/utils/remote.py b/pysqa/utils/remote.py index f3731b55..1d16f7ef 100644 --- a/pysqa/utils/remote.py +++ b/pysqa/utils/remote.py @@ -159,9 +159,9 @@ def _transfer_files(self, file_dict, sftp=None, transfer_back=False): 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.out_window_size = 8388608 sftp_client.sock.in_max_packet_size = 131072 - sftp_client.sock.out_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()): From 5a52ef7b70845ff5160e236d0b345a14145962cf Mon Sep 17 00:00:00 2001 From: pyiron-runner Date: Tue, 29 Nov 2022 05:21:18 +0000 Subject: [PATCH 3/3] Format black --- pysqa/utils/remote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pysqa/utils/remote.py b/pysqa/utils/remote.py index fd45f7eb..5416b876 100644 --- a/pysqa/utils/remote.py +++ b/pysqa/utils/remote.py @@ -164,9 +164,9 @@ def _transfer_files(self, file_dict, sftp=None, transfer_back=False): 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.out_window_size = 8388608 sftp_client.sock.in_max_packet_size = 131072 - #sftp_client.sock.out_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()):