]> cat aescling's git repositories - mastodon.git/commit
Separate background jobs into different queues. ATTENTION: new queue "pull"
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 3 Apr 2017 22:53:20 +0000 (00:53 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 3 Apr 2017 22:53:20 +0000 (00:53 +0200)
commitf722bd2387df9163760014e9555928ec487ae95f
tree77ffecc4b48f924dbf49a0f179640850dd5a365b
parent8232f76c482d3046055bd7bf224ef7835d0fa399
Separate background jobs into different queues. ATTENTION: new queue "pull"
must be added to the Sidekiq invokation in your systemd file

The pull queue will handle link crawling, thread resolving, and OStatus
processing. Such tasks are more likely to hang for a longer time (due to
network requests) so it is more sensible to not make the "in-house" tasks
wait for them.
13 files changed:
app/workers/after_remote_follow_request_worker.rb
app/workers/after_remote_follow_worker.rb
app/workers/import_worker.rb
app/workers/link_crawl_worker.rb
app/workers/merge_worker.rb
app/workers/notification_worker.rb
app/workers/processing_worker.rb
app/workers/regeneration_worker.rb
app/workers/salmon_worker.rb
app/workers/thread_resolve_worker.rb
app/workers/unmerge_worker.rb
docker-compose.yml
docs/Running-Mastodon/Production-guide.md