Moving some background jobs into simple tasks
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 10 Sep 2020 07:54:57 +0000 (10:54 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Wed, 11 Nov 2020 10:39:49 +0000 (13:39 +0300)
commit8d218ebaf5ab0b72e419068340c40a5ef9744924
tree7d3187a7082da34e1dde2ae858312c078e0e5c9c
parent88f6b61a5e31856eb4cee204adf3fc9a6ab78d76
Moving some background jobs into simple tasks

- fetching activity data
- attachment prefetching
- using limiter to prevent overload
lib/pleroma/application.ex
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/activity_pub/mrf/media_proxy_warming_policy.ex
lib/pleroma/web/activity_pub/side_effects.ex
lib/pleroma/web/rich_media/helpers.ex
lib/pleroma/workers/background_worker.ex
priv/repo/migrations/20200915095704_remove_background_jobs.exs [new file with mode: 0644]
test/pleroma/config/deprecation_warnings_test.exs
test/pleroma/web/activity_pub/mrf/media_proxy_warming_policy_test.exs
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
test/pleroma/web/pleroma_api/views/chat_message_reference_view_test.exs