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.

贡献者指南