The source project of this merge request has been removed.
Draft: Add periodic scheduler cleanup
Before raising this MR, consider whether the following are required, and complete if so:
-
Unit tests -
Metrics -
Documentation update(s)
Description
Using configurable parameters, periodically issue DELETE statements against the jobs
table pruning older rows
Changes proposed in this merge request:
-
scheduler.py
: add line of code to invoke the pruner -
server/persistence/interface.py
: add new abstract method -
server/persistence/mem/impl.py
: add concrete method as a noop -
server/persistence/sql/impl.py
: implement pruning method
Validation
TBD
Issues addressed
Edited by Frank Kolarek