summaryrefslogtreecommitdiff
path: root/lorry-controller-remove-old-jobs
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceBen Brown2015-12-151-1/+1
| | | | | | While we're here, seeing as Adam mentioned it. Change-Id: I5ddb86c70d76a84cf12fbd4eb91f3802e490d745
* Change the default job result expiry to 3 daysRichard Maw2015-10-141-2/+1
| | | | | | | | | | | | | | | From a disk space point of view, 1 year's worth of logs, while potentially excessive, isn't too much of an ask, since disk space is cheap enough. However our queries on the database run slower when it is large, so we need a shorter log retention policy, and it's best when the defaults do the right thing. 1 day's worth of logs was found to be 87MB, which means 3 days is roughly 250MB, which is acceptable. Change-Id: If3dd58fa01f785bc7d7029a45b6a0fc35c2c2b1d
* Add helper for removing old jobsLars Wirzenius2014-10-231-0/+153