Skip to content

Implement paste expiration #23

Description

@iliafrenkel

The idea is to create a scheduler that will run on a regular interval (or maybe multiple schedulers and multiple intervals) and execute certain tasks:

  • delete expired tasks
  • cleanup old pastes, the ones that haven't been accessed for a long time
  • refresh/invalidate the cache
  • write in-memory data to file/database (such as stats)

In addition to that, the API must not show the pastes that have expired already.

Other ideas are more than welcome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions