Commit Graph

3 Commits (80388a3ffe654f5aec0dc94ce9976b4e9fe257ae)

Author SHA1 Message Date
Eugen Rochko 793eea2982
Add improved CLI interface for removing remote media ()
./bin/tootctl media remove --days 7 --background

Make the old rake task point to it
ThibG f06fa09962 Revert to using Paperclip's filesystem storage, and fix dangling records in remove_remote ()
* Fix uncaching worker

* Revert to using Paperclip's filesystem backend instead of fog-local

fog-local has lots of concurrency issues, causing failure to delete files,
dangling file records, and spurious errors UncacheMediaWorker
Eugen Rochko ad40bf5e0c
Speed up some rake tasks by moving execution to Sidekiq ()
* Speed up some rake tasks by moving execution to Sidekiq

mastodon:media:remove_silenced
mastodon:media:remove_remote
mastodon:media:redownload_avatars
mastodon:feeds:build

* Fix code style issue