From 8380b7cecb47484730335946f8a2e0d8758c1ab3 Mon Sep 17 00:00:00 2001 From: Spoked Date: Thu, 26 Sep 2024 05:04:15 -0400 Subject: [PATCH] fix: lower worker count on symlink repair from 8 to 4 workers --- src/program/libraries/symlink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/program/libraries/symlink.py b/src/program/libraries/symlink.py index 39779ff7..4f0ef36e 100644 --- a/src/program/libraries/symlink.py +++ b/src/program/libraries/symlink.py @@ -188,7 +188,7 @@ def find_broken_symlinks(directory: str) -> list[tuple[str, str]]: broken_symlinks.append((full_path, target)) return broken_symlinks -def fix_broken_symlinks(library_path, rclone_path, max_workers=8): +def fix_broken_symlinks(library_path, rclone_path, max_workers=4): """Find and fix all broken symlinks in the library path using files from the rclone path.""" missing_files = 0