mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06: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
|