Skip to content

Draft: Add periodic scheduler cleanup

Frank Kolarek requested to merge (removed):implement-cleaner into master

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

#367 (closed)

Edited by Frank Kolarek

Merge request reports