Merge branch 'stable' into develop
This commit is contained in:
commit
7d32000bd0
2 changed files with 14 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ bind to an UNIX socket at `unix:tmp/diaspora.sock`. Please change your local
|
|||
## 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
|
||||
|
||||
|
|
|
|||
13
app/workers/clean_cached_files.rb
Normal file
13
app/workers/clean_cached_files.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
module Workers
|
||||
class CleanCachedFiles < Base
|
||||
include Sidetiq::Schedulable
|
||||
|
||||
sidekiq_options queue: :maintenance
|
||||
|
||||
recurrence { daily }
|
||||
|
||||
def perform
|
||||
CarrierWave.clean_cached_files!
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Reference in a new issue