mastodon/app/workers
Eugen Rochko 61ed133fea
Account archive download (#6460)
* Fix #201: Account archive download

* Export actor and private key in the archive

* Optimize BackupService

- Add conversation to cached associations of status, because
  somehow it was forgotten and is source of N+1 queries
- Explicitly call GC between batches of records being fetched
  (Model class allocations are the worst offender)
- Stream media files into the tar in 1MB chunks
  (Do not allocate media file (up to 8MB) as string into memory)
- Use #bytesize instead of #size to calculate file size for JSON
  (Fix FileOverflow error)
- Segment media into subfolders by status ID because apparently
  GIF-to-MP4 media are all named "media.mp4" for some reason

* Keep uniquely generated filename in Paperclip::GifTranscoder

* Ensure dumped files do not overwrite each other by maintaing directory partitions

* Give tar archives a good name

* Add scheduler to remove week-old backups

* Fix code style issue
2018-02-21 23:21:32 +01:00
..
activitypub Retry delivering toots over ActivityPub for about 2 days (#6298) 2018-01-19 15:49:48 +01:00
admin Add ability to disable login and mark accounts as memorial (#5615) 2017-11-07 19:06:44 +01:00
import Rename ResolveRemoteAccountService to ResolveAccountService (#6327) 2018-01-22 14:25:09 +01:00
pubsubhubbub Fix PuSH workers (#6200) 2018-01-05 23:04:35 +01:00
scheduler Account archive download (#6460) 2018-02-21 23:21:32 +01:00
after_remote_follow_request_worker.rb
after_remote_follow_worker.rb
authorize_follow_worker.rb
backup_worker.rb Account archive download (#6460) 2018-02-21 23:21:32 +01:00
block_worker.rb
bootstrap_timeline_worker.rb Default follows for new users (#4871) 2017-09-10 09:58:38 +02:00
digest_mailer_worker.rb Move e-mail digest task to sidekiq, reduce workload, improve hint (#6252) 2018-01-15 04:34:28 +01:00
distribution_worker.rb
domain_block_worker.rb
feed_insert_worker.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
import_worker.rb Use separate workers to process imports, retry failures (#5207) 2017-10-04 00:39:32 +02:00
link_crawl_worker.rb Improve error handling on LinkCrawlWorker (#5250) 2017-10-06 20:39:08 +02:00
merge_worker.rb
notification_worker.rb
processing_worker.rb Set snowflake IDs for backdated statuses (#5260) 2017-10-08 17:34:34 +02:00
push_update_worker.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
refollow_worker.rb Fix refollowing (#4931) 2017-09-14 00:05:25 +02:00
regeneration_worker.rb Fix home regeneration (#6251) 2018-01-17 23:56:03 +01:00
remote_profile_update_worker.rb
removal_worker.rb
resolve_account_worker.rb Rename ResolveRemoteAccountService to ResolveAccountService (#6327) 2018-01-22 14:25:09 +01:00
salmon_worker.rb Split SalmonWorker into smaller parts, move profile updating into another job 2017-04-05 21:43:10 +02:00
soft_block_domain_followers_worker.rb
soft_block_worker.rb
thread_resolve_worker.rb Retry thread resolving (#5599) 2017-11-11 16:49:04 +01:00
unfavourite_worker.rb
unmerge_worker.rb
web_push_notification_worker.rb