jazzband/django-silk

Add command to clear profiling data

Open

#137 aberto em 26 de ago. de 2016

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)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.

Guia do colaborador