This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
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 specs (#3098) 2017-05-18 21:10:41 +02:00
after_remote_follow_worker.rb After remote follow worker specs (#3098) 2017-05-18 21:10:41 +02:00
authorize_follow_worker.rb authorize-follow-requests-after-unlocking (#4658) 2017-08-26 12:40:03 +02:00
backup_worker.rb Account archive download (#6460) 2018-02-21 23:21:32 +01:00
block_worker.rb Make blocks create entries and unfollows instantly, but do the clean up 2017-01-24 21:40:41 +01:00
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 Fix Scheduler::SubscriptionsScheduler (#2834) 2017-05-06 13:05:03 +02:00
domain_block_worker.rb Make default admin UI page reports. Add admin UI for creating a domain block 2017-04-03 18:55:06 +02:00
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 Separate background jobs into different queues. ATTENTION: new queue "pull" 2017-04-04 00:53:20 +02:00
notification_worker.rb Separate background jobs into different queues. ATTENTION: new queue "pull" 2017-04-04 00:53:20 +02:00
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 Fix #1141, fix #1126 - Avatar/profile info fetching (#1215) 2017-04-08 13:26:03 +02:00
removal_worker.rb Adding some rescues to workers, e.g. don't fail removal job when status can't be found in the first place (already removed) 2016-12-19 09:31:12 +01:00
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 change sidekiq queueing to bulk push (#3536) 2017-06-04 00:11:15 +02:00
soft_block_worker.rb Followers-only post federation (#2111) 2017-04-24 00:38:37 +02:00
thread_resolve_worker.rb Retry thread resolving (#5599) 2017-11-11 16:49:04 +01:00
unfavourite_worker.rb Improve background jobs params and error handling 2017-01-05 03:28:21 +01:00
unmerge_worker.rb Separate background jobs into different queues. ATTENTION: new queue "pull" 2017-04-04 00:53:20 +02:00
web_push_notification_worker.rb Fix guard clause in WebPushNotificationWorker (#4421) 2017-07-28 17:21:28 +02:00