1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 22:38:27 +09:00
mastodon/app/workers
Eugen Rochko 81584779cb More robust PuSH subscription refreshes (#2799)
* Fix #2473 - Use sidekiq scheduler to refresh PuSH subscriptions instead of cron

Fix an issue where / in domain would raise exception in TagManager#normalize_domain

PuSH subscriptions refresh done in a round-robin way to avoid hammering a single
server's hub in sequence. Correct handling of failures/retries through Sidekiq (see
also #2613). Optimize Account#with_followers scope. Also, since subscriptions
are now delegated to Sidekiq jobs, an uncaught exception will not stop the entire
refreshing operation halfway through

Fix #2702 - Correct user agent header on outgoing http requests

* Add test for SubscribeService

* Extract #expiring_accounts into method

* Make mastodon:push:refresh no-op

* Queues are now defined in sidekiq.yml

* Queues are now in sidekiq.yml
2017-05-05 02:23:01 +02:00
..
admin Split SalmonWorker into smaller parts, move profile updating into another job 2017-04-05 21:43:10 +02:00
pubsubhubbub More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
scheduler More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
after_remote_follow_request_worker.rb Only render public payload once in FanOutOnWrite 2017-04-05 14:26:17 +02:00
after_remote_follow_worker.rb Only render public payload once in FanOutOnWrite 2017-04-05 14:26:17 +02:00
application_worker.rb Split SalmonWorker into smaller parts, move profile updating into another job 2017-04-05 21:43:10 +02:00
block_worker.rb Make blocks create entries and unfollows instantly, but do the clean up 2017-01-24 21:40:41 +01:00
digest_mailer_worker.rb Add digest e-mails 2017-03-04 00:00:48 +01:00
distribution_worker.rb Split SalmonWorker into smaller parts, move profile updating into another job 2017-04-05 21:43:10 +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 Spawn FeedInsertWorker to deliver status into personal feed 2017-04-04 19:21:37 +02:00
import_worker.rb Followers-only post federation (#2111) 2017-04-24 00:38:37 +02:00
link_crawl_worker.rb Separate background jobs into different queues. ATTENTION: new queue "pull" 2017-04-04 00:53:20 +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 Move OStatus processing back into default queue 2017-04-04 13:02:49 +02:00
push_update_worker.rb Replace calls to FeedManager#inline_render and #broadcast 2017-04-05 19:45:18 +02:00
regeneration_worker.rb Reduce number of items in feeds, optimize regeneration worker slightly, 2017-04-04 13:58:34 +02: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
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 Followers-only post federation (#2111) 2017-04-24 00:38:37 +02:00
soft_block_worker.rb Followers-only post federation (#2111) 2017-04-24 00:38:37 +02:00
thread_resolve_worker.rb Separate background jobs into different queues. ATTENTION: new queue "pull" 2017-04-04 00:53:20 +02: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