jazzband/django-silk

Add command to clear profiling data

Open

#137 ouverte le 26 août 2016

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Python (319 forks)batch import
featurehelp wanted

Métriques du dépôt

Stars
 (3 958 stars)
Métriques de merge PR
 (Merge moyen 4h 49m) (1 PR mergée en 30 j)

Description

It would be great to have a way to sunset old profiling data (whether by simply clearing it or archiving it some way). It's not ideal to clear the entire data set regularly. Ideally this isn't something I need to micromanage manually.

Best could be a line I can throw into a cron that will call a manage.py command to clear records older than N days.

Guide contributeur