mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 00:33:37 +08:00
10 lines
143 B
Ruby
10 lines
143 B
Ruby
module Jobs
|
|
class PurgeOldWebHookEvents < Jobs::Scheduled
|
|
every 1.day
|
|
|
|
def execute(_)
|
|
WebHookEvent.purge_old
|
|
end
|
|
end
|
|
end
|