jazzband/django-silk

Add command to clear profiling data

Open

#137 geöffnet am 26. Aug. 2016

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (3.958 Stars) (319 Forks)batch import
featurehelp wanted

Beschreibung

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.

Contributor Guide