jazzband/django-silk

Add command to clear profiling data

Open

#137 建立於 2016年8月26日

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

倉庫指標

Star
 (3,958 star)
PR 合併指標
 (平均合併 4小時 49分鐘) (30 天內合併 1 個 PR)

描述

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.

貢獻者指南