MCPcopy Index your code
hub / github.com/coleifer/huey / flush_queue

Method flush_queue

huey/storage.py:903–904  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

901 return [i for i, in self.sql(sql, params, results=True)]
902
903 def flush_queue(self):
904 self.sql('delete from task where queue=?', (self.name,), commit=True)
905
906 def add_to_schedule(self, data, ts):
907 params = (self.name, self.to_blob(data), ts.timestamp())

Callers

nothing calls this directly

Calls 1

sqlMethod · 0.80

Tested by

no test coverage detected