mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:10:11 +08:00
e1f293ad66
Removed sidetiq, introduced new scheduler - add basic UI - add schedule discover - add scheduling in initializer
11 lines
189 B
Ruby
11 lines
189 B
Ruby
module Jobs
|
|
# various consistency checks
|
|
class DestroyOldDeletionStubs < Jobs::Scheduled
|
|
every 30.minutes
|
|
|
|
def execute(args)
|
|
PostDestroyer.destroy_stubs
|
|
end
|
|
end
|
|
end
|