Prevent media syncing from blocking collection tasks (#2740)

This commit is contained in:
Abdo 2023-10-17 02:47:50 +03:00 committed by GitHub
parent bea4307d78
commit 01738757ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,9 @@ class MediaSyncer:
time.sleep(0.25)
self.mw.taskman.run_in_background(monitor, self._on_finished)
self.mw.taskman.run_in_background(
monitor, self._on_finished, uses_collection=False
)
def _update_progress(self, progress: str) -> None:
self.last_progress = progress