jazzband/django-silk

Add command to clear profiling data

Open

#137 建立於 2016年8月26日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Python (3,958 star) (319 fork)batch import
featurehelp wanted

描述

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.

貢獻者指南