queue previews after sync

This commit is contained in:
j 2021-01-31 16:12:12 +01:00
commit ab7863807b
3 changed files with 19 additions and 3 deletions

View file

@ -598,6 +598,8 @@ class Nodes(Thread):
def _pull(self):
if not state.sync_enabled or settings.preferences.get('downloadRate') == 0:
return
if state.sync_db:
return
if state.activity and state.activity.get('activity') == 'import':
return
self._pulling = True