Skip to content

remove old data #10

@jfilter

Description

@jfilter

The size of my data base is growing quite high already. Since I expect to run the bot for decades, I would like to have a way to clean old articles (maybe only those without a match).

Options:

  1. add an CLI argument to only clean the DB
  2. add an CLI argument to run the Bot but also clean the DB
  3. add an CLI argument to run the bot but also with a probability p (e.g. 0.01) clean the DB (my favorite)

To find old articles, you have to check for the last date in the feed and then remove everything older than that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions