Let's be more aggressive with purging old WebHookEvent records.
This commit is contained in:
parent
6090994cdf
commit
6def5a344a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue