Updates for rclone parallel uploads

This commit is contained in:
Radhakrishnan Sethuraman
2024-11-18 17:27:29 -06:00
parent c067dbd9f7
commit aa75ec6f97
4 changed files with 52 additions and 30 deletions

View File

@@ -226,6 +226,13 @@ what the web UI does. This might be more stable if you are experiencing
a lot of failed downloads with the default downloader.
""",
)
@click.option(
"--rclone-parallel-uploads",
default=1,
show_default=True,
envvar="RCLONE_PARALLEL_UPLOADS",
help="Number of parallel uploads",
)
def main(**kwargs):
"""A Python based tool for backing up Unifi Protect event clips as they occur."""
event_listener = UnifiProtectBackup(**kwargs)