mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:02:24 +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
|