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 (3 958 stars) (319 forks)batch import
featurehelp wanted

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