Skip to content

Commit

Permalink
fix: lower worker count on symlink repair from 8 to 4 workers
Browse files Browse the repository at this point in the history
  • Loading branch information
dreulavelle committed Sep 26, 2024
1 parent 13a278f commit 8380b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/program/libraries/symlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8380b7c

Please sign in to comment.