Prevent media syncing from blocking collection tasks (#2740)
This commit is contained in:
parent
bea4307d78
commit
01738757ef
@ -61,7 +61,9 @@ class MediaSyncer:
|
|||||||
|
|
||||||
time.sleep(0.25)
|
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:
|
def _update_progress(self, progress: str) -> None:
|
||||||
self.last_progress = progress
|
self.last_progress = progress
|
||||||
|
Loading…
Reference in New Issue
Block a user