mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +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
|