jazzband/django-silk

Add command to clear profiling data

Open

Aperta il 26 ago 2016

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (3958 star) (319 fork)batch import
featurehelp wanted

Descrizione

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.

Guida contributor