MCPcopy
hub / github.com/pyload/pyload / deleteFinished

Method deleteFinished

module/database/FileDatabase.py:874–876  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

872
873 @style.queue
874 def deleteFinished(self):
875 self.c.execute("DELETE FROM links WHERE status IN (0,4)")
876 self.c.execute("DELETE FROM packages WHERE NOT EXISTS(SELECT 1 FROM links WHERE packages.id=links.package)")
877
878 @style.queue
879 def restartFailed(self):

Callers 1

deleteFinishedLinksMethod · 0.45

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected