Skip to content

Commit

Permalink
🚑️Rclone: downgrade to 1.63.1 (ITISFoundation#5830)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg authored May 15, 2024
1 parent 8f57549 commit 255431f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ async def _get_folder_size(
return rclone_folder_size_result.bytes


_DISABLE_RCLONE_MULTI_THREADED: Final[int] = 1


async def _sync_sources(
r_clone_settings: RCloneSettings,
progress_bar: ProgressBarData,
Expand Down Expand Up @@ -222,8 +219,6 @@ async def _sync_sources(
# filter options
*_get_exclude_filters(exclude_patterns),
"--links",
"--multi-thread-streams",
f"{_DISABLE_RCLONE_MULTI_THREADED}",
)

async with progress_bar.sub_progress(
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_rclone.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -o nounset # abort on unbound variable
set -o pipefail # don't hide errors within pipes
IFS=$'\n\t'

R_CLONE_VERSION="1.66.0"
R_CLONE_VERSION="1.63.1"
curl --silent --location --remote-name "https://downloads.rclone.org/v${R_CLONE_VERSION}/rclone-v${R_CLONE_VERSION}-linux-amd64.deb"
dpkg --install "rclone-v${R_CLONE_VERSION}-linux-amd64.deb"
rm "rclone-v${R_CLONE_VERSION}-linux-amd64.deb"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ def _log_expected_operation(
logger.log(log_level, formatted_message)


_DISABLE_RCLONE_MULTI_THREADED: Final[int] = 1


async def store_to_s3( # pylint:disable=too-many-locals,too-many-arguments
volume_name: str,
dyv_volume: dict,
Expand Down Expand Up @@ -192,8 +189,6 @@ async def store_to_s3( # pylint:disable=too-many-locals,too-many-arguments
f"{source_dir}",
f"dst:{s3_path}",
"--verbose",
"--multi-thread-streams",
f"{_DISABLE_RCLONE_MULTI_THREADED}",
]

str_r_clone_sync = _get_r_clone_str_command(r_clone_sync, exclude_files)
Expand Down

0 comments on commit 255431f

Please sign in to comment.