Let's be more aggressive with purging old WebHookEvent records.

This commit is contained in:
Guo Xiang Tan 2017-11-08 14:15:34 +08:00
parent 6090994cdf
commit 6def5a344a
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
module Jobs module Jobs
class PurgeOldWebHookEvents < Jobs::Scheduled class PurgeOldWebHookEvents < Jobs::Scheduled
every 1.week every 1.day
def execute(_) def execute(_)
WebHookEvent.purge_old WebHookEvent.purge_old