cleanup download, download from local nodes if offline, cache per download users syndb only at startup
This commit is contained in:
parent
ba4f311fe1
commit
988d030f92
4 changed files with 45 additions and 42 deletions
|
|
@ -565,6 +565,7 @@ class Item(db.Model):
|
|||
if state.downloads and self.id in state.downloads.transfers:
|
||||
del state.downloads.transfers[self.id]
|
||||
self.update()
|
||||
return True
|
||||
return False
|
||||
|
||||
def remove_file(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue