mirror of
https://github.com/ep1cman/unifi-protect-backup.git
synced 2025-12-15 07:43:29 +00:00
Updates for rclone parallel uploads
This commit is contained in:
@@ -97,9 +97,9 @@ class MissingEventChecker:
|
||||
downloading_event_ids.add(current_download.id)
|
||||
|
||||
uploading_event_ids = {event.id for event, video in self._uploader.upload_queue._queue} # type: ignore
|
||||
current_upload = self._uploader.current_event
|
||||
if current_upload is not None:
|
||||
uploading_event_ids.add(current_upload.id)
|
||||
for current_upload in self._uploader.current_events:
|
||||
if current_upload is not None:
|
||||
uploading_event_ids.add(current_upload.id)
|
||||
|
||||
missing_event_ids = set(unifi_events.keys()) - (db_event_ids | downloading_event_ids | uploading_event_ids)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user