mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:02:46 +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
|