Commit fe3ff10e authored by cmrd Senya's avatar cmrd Senya Committed by Jonne Haß
Browse files

Add new daily job to clean cache in public/tmp (as suggested in #5946).

parent d410d2ee
......@@ -14,6 +14,7 @@
## Features
* Add configuration options for some debug logs [#6090](https://github.com/diaspora/diaspora/pull/6090)
* Send new users a welcome message from the podmin [#6128](https://github.com/diaspora/diaspora/pull/6128)
* Cleanup temporary upload files daily [#6147](https://github.com/diaspora/diaspora/pull/6147)
# 0.5.1.2
......
module Workers
class CleanCachedFiles < Base
include Sidetiq::Schedulable
sidekiq_options queue: :maintenance
recurrence { daily }
def perform
CarrierWave.clean_cached_files!
end
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment