check tasks
This commit is contained in:
parent
f68f5f5669
commit
518bb9a361
1 changed files with 3 additions and 2 deletions
|
@ -245,8 +245,9 @@ class Peer(object):
|
||||||
state.db.session.commit()
|
state.db.session.commit()
|
||||||
if state.shutdown:
|
if state.shutdown:
|
||||||
return
|
return
|
||||||
for itemid in getpreview:
|
if state.tasks:
|
||||||
state.tasks.queue('getpreview', itemid)
|
for itemid in getpreview:
|
||||||
|
state.tasks.queue('getpreview', itemid)
|
||||||
update_items = remove + add
|
update_items = remove + add
|
||||||
|
|
||||||
current_lists = set(l.name for l in u.lists.all() if l.name)
|
current_lists = set(l.name for l in u.lists.all() if l.name)
|
||||||
|
|
Loading…
Reference in a new issue